@nutui/nutui-react
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
14 lines (13 loc) • 613 B
TypeScript
import React, { FunctionComponent } from 'react';
import { WebCascaderProps, CascaderOption, CascaderValue, CascaderOptionKey } from "../../types";
export interface AddressProps extends WebCascaderProps {
visible: boolean;
type: string;
options: CascaderOption[];
value: CascaderValue;
defaultValue: CascaderValue;
optionKey: CascaderOptionKey;
format: Record<string, string | number | null>;
height: string | number;
}
export declare const CustomRender: FunctionComponent<Partial<AddressProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'title' | 'defaultValue' | 'onChange'>>;