UNPKG

780 BTypeScriptView Raw
1import React from 'react';
2import PropTypes from 'prop-types';
3
4declare const Welcome: {
5 ({ showApp }: {
6 showApp: () => void;
7 }): JSX.Element;
8 displayName: string;
9 propTypes: {
10 showApp: PropTypes.Requireable<(...args: any[]) => any>;
11 };
12 defaultProps: {
13 showApp: any;
14 };
15};
16
17declare const Button: {
18 ({ children, onClick, }: {
19 children: React.ReactNode;
20 onClick: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
21 }): JSX.Element;
22 displayName: string;
23 propTypes: {
24 children: PropTypes.Validator<PropTypes.ReactNodeLike>;
25 onClick: PropTypes.Requireable<(...args: any[]) => any>;
26 };
27 defaultProps: {
28 onClick: () => void;
29 };
30};
31
32export { Welcome, Button };