UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

19 lines (18 loc) 709 B
import * as React from "react"; import type * as Common from "../../common/types"; import type { As } from "../../Heading/types"; interface Props { description?: React.ReactNode; actions?: React.ReactNode; onClose?: Common.Event<React.SyntheticEvent<HTMLButtonElement | HTMLAnchorElement>>; title?: React.ReactNode; titleAs?: As; labelClose?: string; isSection?: boolean; dataA11ySection?: string; expandable?: boolean; expanded?: boolean; header?: React.ReactNode; } declare const Header: ({ description, title, titleAs, isSection, labelClose, actions, dataA11ySection, onClose, header, expandable, expanded, }: Props) => React.JSX.Element; export default Header;