@nutui/nutui-react
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
15 lines (14 loc) • 545 B
TypeScript
import React, { FunctionComponent, ReactNode } from 'react';
import { AddressList } from "../../types";
export interface ExistRenderProps {
type: string;
existList: AddressList[] | [];
defaultIcon: ReactNode;
selectIcon: ReactNode;
custom: boolean | string;
onSelect?: (item: AddressList) => void;
onSwitch?: (cal: {
type: string;
}) => void;
}
export declare const ExistRender: FunctionComponent<Partial<ExistRenderProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'title' | 'onSelect'>>;