UNPKG

ultra-design

Version:
26 lines (25 loc) 762 B
import React from 'react'; interface Props { /** * @description.zh-CN 默认值 * @description.en-US default value */ defaultValue?: string; /** * @description.zh-CN 当前选中的值 * @description.en-US current select value */ value?: string; /** * @description.zh-CN 选项卡切换回调 * @description.en-US change event */ onChange?: (value: string) => void; className?: string; } declare type NativeAttrs = Omit<React.KeygenHTMLAttributes<any>, keyof Props>; export declare type TabsProps = Props & NativeAttrs; declare const defaultProps: {}; export declare type MergedTabsProps = typeof defaultProps & Props; declare const _default: React.FC<TabsProps>; export default _default;