artwork-react-native
Version:
artwork design master for react-native
21 lines (20 loc) • 598 B
TypeScript
/// <reference types="react" />
/// <reference types="react-native" />
import React from 'react';
import { IResultStyle } from './style';
import { ResultProps } from './PropsType';
export interface IResultNativeProps extends ResultProps {
styles?: IResultStyle;
}
export default class Result extends React.Component<IResultNativeProps, any> {
static defaultProps: {
styles: {
[x: string]: number & {
__registeredStyleBrand: any;
};
};
buttonType: string;
onButtonPress: () => void;
};
render(): JSX.Element;
}