| 13 | }; |
| 14 | |
| 15 | const CodeBox: FC<PropsWithChildren<CodeBoxProps>> = props => { |
| 16 | const t = useTranslations(); |
| 17 | |
| 18 | return ( |
| 19 | <BaseCodeBox |
| 20 | as={Link} |
| 21 | copyButtonLabel={t('components.common.codebox.copy')} |
| 22 | copiedButtonLabel={t('components.common.codebox.copied')} |
| 23 | {...props} |
| 24 | /> |
| 25 | ); |
| 26 | }; |
| 27 | |
| 28 | export default CodeBox; |
nothing calls this directly
no outgoing calls
no test coverage detected