mithril-materialized
    Preparing search index...

    Interface ThemeSwitcherAttrs

    interface ThemeSwitcherAttrs {
        className?: string;
        i18n?: ThemeSwitcherI18n;
        onThemeChange?: (theme: Theme) => void;
        showLabels?: boolean;
        theme?: Theme;
    }
    Index

    Properties

    className?: string

    Custom class for the container

    Internationalization

    onThemeChange?: (theme: Theme) => void

    Callback when theme changes

    showLabels?: boolean

    Show labels on the toggle buttons

    theme?: Theme

    Current theme selection