Skip to content

Commit

Permalink
Merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrogenous committed Apr 8, 2024
1 parent 3ae6aa8 commit df3e7b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/lib/inputotp/inputotp.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ interface InputOtpChangeEvent {
/**
* New value
*/
value: string | number | undefined;
value?: string | number | null;
}

/**
Expand All @@ -79,10 +79,10 @@ interface InputOtpChangeEvent {
*/
export interface InputOtpProps extends Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'onInput' | 'ref' | 'value' | 'size' | 'onChange'> {
/**
* Specifies whether a inputotp should be checked or not.
* @defaultValue false
* Specifies the value of the component.
* @defaultValue null
*/
value?: string | number;
value?: string | number | null;
/**
* When present, it specifies that the component should have invalid state style.
* @defaultValue false
Expand Down

0 comments on commit df3e7b7

Please sign in to comment.