import React from 'react'; import { CheckboxProps } from '@alifd/next/types/checkbox'; export interface SelectableItemProps { /** * 用于显示标签文字 */ label?: string; /** * 自定义样式名 */ className?: string; /** * 是否禁用 */ disabled?: boolean; /** * 帮助文本 */ helper?: React.ReactNode; /** * 是否缩进 */ needIndent?: boolean; /** * 是否处于加载状态 */ loading?: boolean; /** * 是否有展开功能 */ hasExpand?: boolean; /** * 受控值,显示是否展开 */ expanded?: boolean; /** * 当 hasExpand={true} 时,展开触发 */ onExpand?: () => void; /** * 用于覆盖 checkbox 的属性 */ checkboxProps?: Partial; /** * 自定义渲染标签文字,传入则 label 失效 */ children?: React.ReactNode; _key?: string; root?: any; } export declare class SelectableItem extends React.Component { static menuChildType: string; static propTypes: { _key: any; root: any; selected: any; onSelect: any; inlineIndent: any; /** * 是否禁用 */ disabled: any; /** * 帮助文本 */ helper: any; /** * 菜单项标签内容 */ children: any; className: any; onKeyDown: any; onClick: any; needIndent: any; }; static defaultProps: { disabled: boolean; needIndent: boolean; }; constructor(props: any); getSelected(): any; handleSelect(e: any): void; handleKeyDown(e: any): void; handleClick(e: any): void; render(): JSX.Element; }