UNPKG

flowbite-angular

Version:

<div align="center"> <h1>:construction: flowbite-angular (unreleased) :construction:</h1> <p> <a href="https://flowbite.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src="https://flowbite.s3.amazonaws.com/github/logo-github

36 lines (35 loc) 1.1 kB
import type { DeepPartial, FlowbiteBoolean, FlowbiteClass, FlowbitePositions, FlowbiteSizes } from 'flowbite-angular'; export interface ModalSizes extends Pick<FlowbiteSizes, 'sm' | 'md' | 'lg' | 'xl'> { [key: string]: string; } export interface ModalPositions extends Pick<FlowbitePositions, 'center' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center' | 'center-left' | 'center-right'> { [key: string]: string; } export interface ModalProperties { isOpen: keyof FlowbiteBoolean; size: keyof ModalSizes; position: keyof ModalPositions; customStyle: DeepPartial<ModalTheme>; } export interface ModalTheme { root: { base: string; }; wrapper: { base: string; position: ModalPositions; }; container: { base: string; size: ModalSizes; }; content: { base: string; }; } export declare const modalTheme: ModalTheme; export interface ModalClass extends FlowbiteClass { modalWrapperClass: string; modalContainerClass: string; modalContentClass: string; }