Avataaars API Documentation - v3.1.0
    Preparing search index...

    Interface SelectorProps

    Props for the Selector component.

    interface SelectorProps {
        option: Option;
        defaultOption: string | ComponentType;
        children?: ReactNode;
    }
    Index

    Properties

    option: Option

    The option definition to select based on

    defaultOption: string | ComponentType

    Default component or value to use

    children?: ReactNode

    Child components, each representing an option value