UNPKG

@ant-design/react-native

Version:

基于蚂蚁金服移动设计规范的 React Native 组件库

21 lines (20 loc) 721 B
import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; import { WithThemeStyles } from '../style'; import { MarqueeProps } from './Marquee'; import { NoticeBarPropsType } from './PropsType'; import { NoticeBarStyle } from './style/index'; export interface NoticeNativeProps extends NoticeBarPropsType, WithThemeStyles<NoticeBarStyle> { marqueeProps?: MarqueeProps; style?: StyleProp<ViewStyle>; children?: React.ReactNode; } export default class NoticeBar extends React.Component<NoticeNativeProps, any> { static defaultProps: { mode: string; onPress(): void; }; constructor(props: NoticeNativeProps); onPress: () => void; render(): JSX.Element; }