({ className, ...props }: HTMLAttributes<HTMLElement>)
| 2 | import clsx from 'clsx' |
| 3 | |
| 4 | export const Code = ({ className, ...props }: HTMLAttributes<HTMLElement>) => ( |
| 5 | <code |
| 6 | className={clsx( |
| 7 | 'text-code text-base whitespace-pre-wrap before:content-["`"] after:content-["`"]', |
| 8 | className |
| 9 | )} |
| 10 | {...props} |
| 11 | /> |
| 12 | ) |
nothing calls this directly
no outgoing calls
no test coverage detected