baseui
Version:
A React Component library implementing the Base design language
12 lines (11 loc) • 411 B
TypeScript
import * as React from 'react';
import type { TreeNodeProps } from './types';
import type { SyntheticEvent } from 'react';
export default class TreeNode extends React.Component<TreeNodeProps> {
treeItemRef: React.RefObject<HTMLLIElement>;
componentDidMount(): void;
componentWillUnmount(): void;
onToggle: () => void;
onFocus: (e: SyntheticEvent) => void;
render(): React.JSX.Element;
}