We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 743cbae commit 828abc2Copy full SHA for 828abc2
1 file changed
src/components/Form/FormField.tsx
@@ -4,9 +4,9 @@ import { Box } from '../Layout';
4
import { Label, Text } from '../Typography';
5
6
export interface FormFieldProps {
7
- error?: string;
8
- label?: string;
9
- description?: string;
+ error?: string | null;
+ label?: string | null;
+ description?: string | null;
10
}
11
12
const FormField = (props: FormFieldProps) => {
0 commit comments