-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spike/5010-roettger-ScreenReaderResponsiveTransitionHeader (#5047)
* Ready for PR * Hopeful fix for silly docusaurus failure --------- Co-authored-by: Jon Bindbeutel <[email protected]>
- Loading branch information
Showing
6 changed files
with
66 additions
and
33 deletions.
There are no files selected for viewing
8 changes: 0 additions & 8 deletions
8
...ocumentation/docs/Engineering/FrontEnd/CustomHooks/useIsScreanReaderEnabled.mdx
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...ocumentation/docs/Engineering/FrontEnd/CustomHooks/useIsScreenReaderEnabled.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import HooksInfo from '../../../../src/components/HooksInfo' | ||
|
||
export const exampleString = `const screenReaderEnabled = useIsScreenReaderEnabled()\n | ||
const setFocus = useCallback(() => { | ||
if (ref.current && screenReaderEnabled) {} | ||
}` | ||
|
||
<HooksInfo componentName="useIsScreenReaderEnabled" example={exampleString}/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters