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

Function focus

packages/react-aria/src/datepicker/useDateField.ts:187–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

185 {
186 ...props,
187 focus() {
188 focusManager.focusFirst();
189 }
190 },
191 state,
192 props.inputRef

Callers

nothing calls this directly

Calls 1

focusFirstMethod · 0.80

Tested by

no test coverage detected