Files
gitbook/src/components/DocumentView/Divider.tsx
T
Sebastian Graz ccfcaa590b Style PR (#84)
* fixes for table values

* color tweaks rating

* inc legibility on aside active

* add tab separators

* fix hint icon

* fix header colors & remove custom balance

* Better mobile burger colors

* remove border from logofallback img

* style divider dark mode

* compact header + file + expandable hover + mt mobile nav

* testing file types
2024-01-04 18:43:37 +01:00

12 lines
315 B
TypeScript

import { DocumentBlockDivider } from '@gitbook/api';
import { tcls } from '@/lib/tailwind';
import { BlockProps } from './Block';
export function Divider(props: BlockProps<DocumentBlockDivider>) {
const { style } = props;
return <hr className={tcls(style, 'border-dark/2', 'dark:border-light/2')} />;
}