UNPKG

@olleemilsson/flowbite-react

Version:

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

17 lines (16 loc) 582 B
import type { FC, HTMLAttributes } from 'react'; import type { DeepPartial } from '..'; import type { FlowbiteTheme } from './FlowbiteTheme'; import { useTheme, useThemeMode } from './ThemeContext'; export interface ThemeProps { dark?: boolean; theme?: DeepPartial<FlowbiteTheme>; usePreferences?: boolean; } interface FlowbiteProps extends HTMLAttributes<HTMLDivElement> { children: React.ReactNode; theme?: ThemeProps; } export declare const Flowbite: FC<FlowbiteProps>; export type { FlowbiteTheme } from './FlowbiteTheme'; export { useTheme, useThemeMode };