Skip to content

Commit ce3cf43

Browse files
authored
fix(MultiStateCheckbox): add missing invalid and variant props to TypeScript Interface (#8086)
* fix(MultiStateCheckbox): add missing invalid and variant props to TypeScript interface * fix format
1 parent df65082 commit ce3cf43

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

components/lib/multistatecheckbox/multistatecheckbox.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,16 @@ export interface MultiStateCheckboxProps extends Omit<React.DetailedHTMLProps<Re
243243
* @defaultValue false
244244
*/
245245
unstyled?: boolean;
246+
/**
247+
* When present, it specifies that the component has invalid state style.
248+
* @defaultValue false
249+
*/
250+
invalid?: boolean | undefined;
251+
/**
252+
* Specifies the input variant of the component.
253+
* @defaultValue null
254+
*/
255+
variant?: 'filled' | string | undefined;
246256
}
247257

248258
/**

0 commit comments

Comments
 (0)