Skip to content

Commit d969f02

Browse files
committed
fix: make type optional for helper text in TS definitions
1 parent 2618c06 commit d969f02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

typings/components/HelperText.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as React from 'react';
22
import { ThemeShape } from '../types';
33

44
export interface HelperTextProps {
5-
type: 'error' | 'info';
5+
type?: 'error' | 'info';
66
visible?: boolean;
77
children: React.ReactNode;
88
style?: any;

0 commit comments

Comments
 (0)