({ children, className })
| 1 | import T from 'prop-types'; |
| 2 | |
| 3 | function Legend({ children, className }) { |
| 4 | return <legend className={`mb-1 font-semibold ${className}`}>{children}</legend>; |
| 5 | } |
| 6 | |
| 7 | Legend.propTypes = { |
| 8 | children: T.node.isRequired, |
nothing calls this directly
no outgoing calls
no test coverage detected