({ message }: { message: string })
| 1 | import WarningIcon from '@/components/Svg/WarningIcon'; |
| 2 | |
| 3 | export default function HelperText({ message }: { message: string }) { |
| 4 | if (message) { |
| 5 | return ( |
| 6 | <> |
| 7 | <WarningIcon className='inline-block mr-1 align-middle' color={'#dc2626'} size={16}></WarningIcon> |
| 8 | {message} |
| 9 | </> |
| 10 | ); |
| 11 | } |
| 12 | return null; |
| 13 | } |
nothing calls this directly
no outgoing calls
no test coverage detected