jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
14 lines (13 loc) • 379 B
TypeScript
import type { Option } from 'jamis-core';
import type { ListMenuProps } from './types';
export declare const ListMenu: {
(props: ListMenuProps): JSX.Element;
defaultProps: {
placeholder: string;
itemRender: (option: Option) => JSX.Element;
getItemProps: (props: {
item: Option;
index: number;
}) => null;
};
};