Skip to content

Commit

Permalink
remove unnecessary testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
nakambo committed Jan 29, 2025
1 parent e35a148 commit a4fe3e3
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,19 +208,12 @@ const FocusZoneGrid: React.FunctionComponent = () => {
};

const FocusZoneTextInput: React.FunctionComponent = () => {
const textInputRef = React.useRef<TextInput>();
const onFocus = React.useCallback(() => {
textInputRef.current?.focus();
}, []);
const onBlur = React.useCallback(() => {
textInputRef.current?.blur();
}, []);
return (
<FocusZoneListWrapper>
<>
<Text>FocusZone Grid</Text>
<FocusZone>
<TextInput ref={textInputRef} onFocus={onFocus} onBlur={onBlur} multiline={true} />
<TextInput multiline={true} />
</FocusZone>
</>
</FocusZoneListWrapper>
Expand Down

0 comments on commit a4fe3e3

Please sign in to comment.