@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) • 814 B
TypeScript
import * as React from "react";
import type { As } from "../../../Heading/types";
interface Props {
title?: React.ReactNode;
titleAs?: As;
description?: React.ReactNode;
icon?: React.ReactNode;
actions?: React.ReactNode;
dataA11ySection?: string;
header?: React.ReactNode;
expandable?: boolean;
labelClose?: string;
expanded?: boolean;
handleKeyDown: React.KeyboardEventHandler<HTMLDivElement>;
onClick?: React.MouseEventHandler<HTMLDivElement>;
slideID: string;
isContent: boolean;
labelID: string;
}
declare const CardSectionHeader: ({ title, titleAs, description, icon, isContent, expandable, expanded, labelClose, onClick, slideID, labelID, actions, handleKeyDown, header, dataA11ySection, }: Props) => JSX.Element;
export default CardSectionHeader;