From 128618aee40f84d2cbebb041fe5502a2ded7a7e9 Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Fri, 8 Apr 2022 17:50:31 +0900 Subject: [PATCH] Add description and default for `isFocus` prop --- packages/components/src/input-control/types.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/components/src/input-control/types.ts b/packages/components/src/input-control/types.ts index 7067f794537679..4f4ed844d2ef51 100644 --- a/packages/components/src/input-control/types.ts +++ b/packages/components/src/input-control/types.ts @@ -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.