Trails Packages
    Preparing search index...
    interface SwitchProps {
        inputProps?: InputHTMLAttributes<HTMLInputElement>;
        rootRef?: RefObject<HTMLLabelElement | null>;
        thumbLabel?: { off: ReactNode; on: ReactNode };
        trackLabel?: { off: ReactNode; on: ReactNode };
    }

    Hierarchy

    • SwitchRootProps
      • SwitchProps
    Index

    Properties

    inputProps?: InputHTMLAttributes<HTMLInputElement>
    rootRef?: RefObject<HTMLLabelElement | null>
    thumbLabel?: { off: ReactNode; on: ReactNode }
    trackLabel?: { off: ReactNode; on: ReactNode }