mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-19 09:06:03 +00:00
ccfcaa590b
* 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
12 lines
315 B
TypeScript
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')} />;
|
|
}
|