components / Variable

injectFlowbiteSidebarContentState

No documentation has been provided.

Presentation

const injectFlowbiteSidebarContentState: <
  U = {
    readonly config: FlowbiteSidebarContentConfig;
    readonly sidebarState: Signal<
      State<{
        readonly config: any;
        readonly open: any;
        readonly color: any;
        readonly customTheme: any;
        readonly theme: any;
        readonly state: any;
        onClick: any;
        toggle: any;
      }>
    >;
    readonly customTheme: InputSignal<{
      host?:
        | {
            base?: string | undefined;
            transition?: string | undefined;
            open?:
              | { off?: string | undefined; on?: string | undefined }
              | undefined;
            color?:
              | {
                  [x: string]:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                  warning?:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                  default?:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                  info?:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                  failure?:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                  success?:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                  primary?:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                }
              | undefined;
          }
        | undefined;
      container?: { base?: string | undefined } | undefined;
    }>;
    readonly theme: Signal<{
      host: { root: string };
      container: { root: string };
    }>;
    readonly state: CreatedState<SidebarContent>;
    onClick: ($event: MouseEvent) => void;
  },
>(
  injectOptions?: InjectOptions | undefined,
) => Signal<State<U>>;
Flowbite Logo Flowbite

© 2019-2025 Flowbite™ is a registered trademark. All Rights Reserved.