@dxos/react-ui
    Preparing search index...

    Type Alias RootProps

    RootProps: ThemedClassName<
        Omit<
            TabsPrimitive.RootProps,
            "value"
            | "defaultValue"
            | "onValueChange"
            | "lazyMount"
            | "unmountOnExit",
        >,
    > & {
        defaultValue?: string;
        keepMounted?: boolean;
        onValueChange?: (value: string) => void;
        selectedVariant?: SelectedVariant;
        size?: Size;
        value?: string;
    }

    Type declaration

    • OptionaldefaultValue?: string
    • OptionalkeepMounted?: boolean

      Keep inactive panels mounted (hidden); by default they unmount, so their content re-runs its effects on show.

    • OptionalonValueChange?: (value: string) => void
    • OptionalselectedVariant?: SelectedVariant
    • Optionalsize?: Size
    • Optionalvalue?: string