useStepList
| install | yarn add @react-aria/steplist |
|---|---|
| version | 3.0.0-alpha.1 |
| usage | import {useStepList} from '@react-aria/steplist' |
API#
useStepList<T>(
props: SpectrumStepListProps<T>,
state: StepListState<T>,
ref: RefObject<HTMLOListElement>
): StepListAria
Features#
Describe what the aria hook helps with/provides.
Anatomy/Usage#
For hooks that are meant to be used with specific elements/components, include an Anatomy section detailing the props the hook returns. For hooks that are meant for more general use, include a Usage section detailing the props/params the hook accepts and returns.