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.

28 lines (27 loc) 1.22 kB
import * as React from "react"; import type * as Common from "../../../common/types"; interface Props { icon?: React.ReactNode; title?: React.ReactNode; description?: React.ReactNode; expandable?: boolean; expanded?: boolean; external?: boolean; onClick?: Common.Event<React.SyntheticEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>>; onKeyDown?: Common.Event<React.KeyboardEvent<HTMLDivElement>>; header?: React.ReactNode; role?: string; ariaExpanded?: boolean; ariaControls?: string; id?: string; tabIndex?: string | number; noHeaderIcon?: boolean; } export declare const StyledIconRight: import("styled-components").StyledComponent<({ external, expandable, className, }: { external?: Props["external"]; expanded?: Props["expanded"]; expandable?: Props["expandable"]; className?: string | undefined; }) => JSX.Element, import("styled-components").DefaultTheme, {}, never>; declare const TileHeader: ({ icon, title, description, expandable, expanded, external, onClick, header, role, ariaExpanded, ariaControls, id, tabIndex, onKeyDown, noHeaderIcon, }: React.PropsWithChildren<Props>) => JSX.Element; export default TileHeader;