Skip to content

Commit 828abc2

Browse files
committed
fix: more flexible props for form field
1 parent 743cbae commit 828abc2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/Form/FormField.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { Box } from '../Layout';
44
import { Label, Text } from '../Typography';
55

66
export interface FormFieldProps {
7-
error?: string;
8-
label?: string;
9-
description?: string;
7+
error?: string | null;
8+
label?: string | null;
9+
description?: string | null;
1010
}
1111

1212
const FormField = (props: FormFieldProps) => {

0 commit comments

Comments
 (0)