components / Variable

injectFlowbiteCardState

No documentation has been provided.

Presentation

const injectFlowbiteCardState: <
  U = {
    readonly config: FlowbiteCardConfig;
    readonly color: InputSignal<keyof FLowbiteCardColors>;
    readonly size: InputSignal<keyof FlowbiteCardSizes>;
    readonly orientation: InputSignal<keyof FlowbiteCardOrientation>;
    readonly customTheme: InputSignal<{
      host?:
        | {
            base?: string | undefined;
            transition?: string | undefined;
            orientation?:
              | {
                  vertical?: string | undefined;
                  horizontal?: 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;
            size?:
              | {
                  [x: string]: string | undefined;
                  xs?: string | undefined;
                  sm?: string | undefined;
                  md?: string | undefined;
                  lg?: string | undefined;
                  xl?: string | undefined;
                }
              | undefined;
          }
        | undefined;
    }>;
    readonly theme: Signal<{ host: { root: string } }>;
    readonly state: CreatedState<Card>;
  },
>(
  injectOptions?: InjectOptions | undefined,
) => Signal<State<U>>;
Flowbite Logo Flowbite

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