test-nut-ui
Version:
<p align="center"> <img alt="logo" src="https://img11.360buyimg.com/imagetools/jfs/t1/211965/25/7152/22022/61b16785E433119bb/aa41d7a9f7e823f3.png" width="150" style="margin-bottom: 10px;"> </p>
15 lines (14 loc) • 540 B
TypeScript
import React, { FunctionComponent, ReactNode } from 'react';
import { AddressList } from './type';
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'>>;