@atlaskit/table-tree
Version:
A table tree is an expandable table for showing nested hierarchies of information.
28 lines (27 loc) • 744 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
/**
* This is hard-coded here because our actual <Header /> has no typings
* for its props.
*
* Adding types for real *might* break things so will need a little care.
*
* Defining it here for now lets us provide *something* without much headache.
*/
export type HeaderProps = {
/**
* Width of the header item. Takes a string, or a number representing the width in pixels.
*/
width?: string | number;
/**
* The contents of the header.
*/
children?: React.ReactNode;
onClick?: () => void;
id?: string;
role?: string;
};
declare const Header: (props: HeaderProps & import('..').CellWithColumnWidthProps) => React.JSX.Element;
export default Header;