MCPcopy Create free account
hub / github.com/VienLi/CcView / HelperText

Function HelperText

src/components/Form/temp/HelperText.tsx:3–13  ·  view source on GitHub ↗
({ message }: { message: string })

Source from the content-addressed store, hash-verified

1import WarningIcon from '@/components/Svg/WarningIcon';
2
3export 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected