import React from 'react'; import type { WithStyleProps } from '@instructure/emotion'; import type { NewComponentTypes } from '@instructure/ui-themes'; import type { TreeBrowserButtonProps, TreeBrowserButtonStyle } from '../TreeButton/props'; import { CollectionData } from '../props.js'; type TreeBrowserNodeOwnProps = Pick & { onKeyDown?: (e: React.KeyboardEvent, data: CollectionData) => void; /** * The children to be rendered within the `` */ children?: React.ReactNode; /** * Whether the node should show hover effects. * Set to false to disable hover styling when the node contains custom interactive content. * @default true */ hoverable?: boolean; }; type PropKeys = keyof TreeBrowserNodeOwnProps; type AllowedPropKeys = Readonly>; type TreeBrowserNodeProps = TreeBrowserNodeOwnProps & WithStyleProps, TreeBrowserButtonStyle>; declare const allowedProps: AllowedPropKeys; export type { TreeBrowserNodeProps }; export { allowedProps }; //# sourceMappingURL=props.d.ts.map