antd-mobile-rn
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
15 lines (14 loc) • 479 B
TypeScript
import React from 'react';
import { StyleProp, ViewStyle } from 'react-native';
import { SegmentedControlPropsType } from './PropsType';
export interface SegmentedControlProps extends SegmentedControlPropsType {
styles?: any;
style?: StyleProp<ViewStyle>;
}
export default class SegmentedControl extends React.Component<SegmentedControlProps, any> {
static defaultProps: {
tintColor: string;
selectedIndex: number;
};
render(): JSX.Element;
}