UNPKG

welcome-ui

Version:

Customizable design system with react • styled-components • styled-system and ariakit.

32 lines (31 loc) 780 B
import { default as React } from 'react'; import { IconProps } from '../../Icon'; type HeaderProps = { /** * Show on right a block, for example an HeaderAction */ action?: React.ReactNode; /** * Icon from Icon component on the gray square */ icon?: React.FC<IconProps>; /** * Add a back icon on header and call function on click */ onBackButtonClick?: (props?: unknown) => void; /** * List of tags */ subtitle?: React.ReactNode; /** * Title of asset */ title: React.ReactNode; }; export declare const Header: React.FC<HeaderProps>; export type IconBlockProps = { icon: React.FC<IconProps>; size?: 'md' | 'sm'; }; export declare const IconBlock: React.FC<IconBlockProps>; export {};