import React from 'react'; import PropTypes from 'prop-types'; import { useI18nContext } from '../../../../hooks/useI18nContext'; import { BorderStyle, Size, BorderColor, BorderRadius, AlignItems, BackgroundColor, IconColor, TextVariant, TextColor, } 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, };