MCPcopy Create free account
hub / github.com/adobe/react-spectrum / onFocus

Function onFocus

packages/react-aria-components/src/Wizard.tsx:658–662  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

656 return {
657 stepProps: {
658 onFocus() {
659 if (isCurrent) {
660 state.setFocused(true);
661 }
662 },
663 onBlur() {
664 state.setFocused(false);
665 }

Callers 3

Tree.test.tsxFile · 0.50
GridList.test.jsFile · 0.50
Table.test.jsFile · 0.50

Calls 1

setFocusedMethod · 0.65

Tested by

no test coverage detected