Skip to content

Commit

Permalink
Add description and default for isFocus prop
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Apr 8, 2022
1 parent 53b7e08 commit 128618a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/components/src/input-control/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ interface BaseProps {
* @default false
*/
hideLabelFromVision?: boolean;
/**
* Whether the component should be in a focused state.
* Used to coordinate focus states when the actual focused element and the component handling
* visual focus are separate.
*
* @default false
*/
isFocused: boolean;
/**
* The position of the label.
Expand Down

0 comments on commit 128618a

Please sign in to comment.