UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

25 lines (24 loc) 677 B
import React, { JSX } from "react"; //#region src/deprecated/ActionList/Header.d.ts /** * Contract for props passed to the `Header` component. */ interface HeaderProps extends React.ComponentPropsWithoutRef<'div'> { /** * Style variations. Usage is discretionary. * * - `"filled"` - Superimposed on a background, offset from nearby content * - `"subtle"` - Relatively less offset from nearby content */ variant?: 'subtle' | 'filled'; /** * Primary text which names a `Group`. */ title: string; /** * Secondary text which provides additional information about a `Group`. */ auxiliaryText?: string; } //#endregion export { HeaderProps };