@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
26 lines • 482 B
TypeScript
import type { NavTabTheme } from './style';
type TabValue<T> = {
value: T;
label: string;
};
export interface NavTabProps<T> {
theme?: Partial<NavTabTheme>;
/**
* 当前选中的值
*/
value?: T;
/**
* 默认数据
*/
defaultValue?: T;
/**
* tab 数据
*/
options?: TabValue<T>[];
/**
* 改变时的回调函数
*/
onChange?: (value: T) => void;
}
export {};
//# sourceMappingURL=interface.d.ts.map