@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.
22 lines (21 loc) • 885 B
TypeScript
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;
}
declare const TileHeader: ({ icon, title, description, expandable, expanded, external, onClick, header, role, ariaExpanded, ariaControls, id, tabIndex, onKeyDown, noHeaderIcon, }: React.PropsWithChildren<Props>) => React.JSX.Element;
export default TileHeader;