injectFlowbiteBadgeState
No documentation has been provided.
Presentation
const injectFlowbiteBadgeState : <
U = {
readonly config : FlowbiteBadgeConfig ;
readonly color: InputSignal <keyof FlowbiteBadgeColors >;
readonly border: InputSignalWithTransform <boolean, unknown>;
readonly pill: InputSignalWithTransform <boolean, unknown>;
readonly size: InputSignal <keyof FlowbiteBadgeSizes >;
readonly customTheme: InputSignal <{
host?:
| {
base?: string | undefined;
transition ?: string | 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;
border?:
| { off?: string | undefined; on?: string | undefined }
| undefined;
size?:
| {
[x: string]: string | undefined;
xs?: string | undefined;
sm?: string | undefined;
}
| undefined;
pill?:
| { off?: string | undefined; on?: string | undefined }
| undefined;
}
| undefined;
}>;
readonly theme: Signal <{ host: { root: string } }>;
readonly state : CreatedState<Badge >;
},
>(
injectOptions?: InjectOptions | undefined,
) => Signal <State<U>>;