@mui/x-tree-view
Version:
The community edition of the MUI X Tree View components.
20 lines • 1.05 kB
text/typescript
import * as React from 'react';
import type { TreeItemLoaderProps } from "./TreeItemLoader.types.mjs";
export declare const TreeItemLoaderRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, keyof React.ClassAttributes<HTMLLIElement> | keyof React.LiHTMLAttributes<HTMLLIElement>>, {}>;
/**
* Semantic wrapper for one loading row of the Rich Tree View.
*
* It renders a `li` element with the `role`, `aria` attributes, indentation and
* height of a tree item, so custom loading UIs stay accessible and aligned.
* Without children, it renders the default skeleton placeholders.
*
* Demos:
*
* - [Tree View](https://mui.com/x/react-tree-view/)
*
* API:
*
* - [TreeItemLoader API](https://mui.com/x/api/tree-view/tree-item-loader/)
*/
declare const TreeItemLoader: React.ForwardRefExoticComponent<TreeItemLoaderProps & React.RefAttributes<HTMLLIElement>>;
export { TreeItemLoader };