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"> <

8 lines (7 loc) 376 B
import { jsx as _jsx } from "react/jsx-runtime"; import classNames from 'classnames'; import { useTheme } from '../Flowbite'; export const TableHead = ({ children, className, ...props }) => { const theme = useTheme().theme.table; return (_jsx("thead", { className: classNames(theme.head.base, className), ...props, children: _jsx("tr", { children: children }) })); };