alpha

useStepList

installyarn add @react-aria/steplist
version3.0.0-alpha.5
usageimport {useStepList} from '@react-aria/steplist'

API#


useStepList<T>( props: AriaStepListProps<T>, state: StepListState<T>, ref: RefObject<HTMLOListElementnull> ): 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.