import React from 'react'; import PropTypes from 'prop-types'; import { useI18nContext } from '../../../../hooks/useI18nContext'; import { ALIGN_ITEMS, BORDER_RADIUS, BORDER_STYLE, COLORS, SIZES, TEXT, } from '../../../../helpers/constants/design-system'; import Box from '../../../ui/box'; import { Icon, Text } from '../../../component-library'; export const SnapDelineator = ({ snapName, children }) => { const t = useI18nContext(); return ( {t('contentFromSnap', [snapName])} {children} ); }; SnapDelineator.propTypes = { snapName: PropTypes.string, children: PropTypes.ReactNode, };