UNPKG

baseui

Version:

A React Component library implementing the Base design language

11 lines (10 loc) 374 B
import type * as React from 'react'; import type { BlockProps } from '../block'; export type HeadingProps = { /** Set and fix the style level independently on the hierarchy context. */ styleLevel?: 1 | 2 | 3 | 4 | 5 | 6; } & BlockProps<'h1'>; export type HeadingLevelProps = { /** Content to be rendered in the HeadingLevel. */ children: React.ReactNode; };