2019-10-22 22:05:00 +09:00
|
|
|
import React from 'react';
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
|
|
|
|
declare const Welcome: {
|
|
|
|
({ showApp }: {
|
|
|
|
showApp: () => void;
|
|
|
|
}): JSX.Element;
|
|
|
|
displayName: string;
|
|
|
|
propTypes: {
|
|
|
|
showApp: PropTypes.Requireable<(...args: any[]) => any>;
|
|
|
|
};
|
|
|
|
defaultProps: {
|
|
|
|
showApp: any;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
declare const Button: {
|
|
|
|
({ children, onClick, }: {
|
2019-10-22 22:58:02 +09:00
|
|
|
children: React.ReactNode;
|
2019-10-22 22:05:00 +09:00
|
|
|
onClick: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
|
|
}): JSX.Element;
|
|
|
|
displayName: string;
|
|
|
|
propTypes: {
|
|
|
|
children: PropTypes.Validator<PropTypes.ReactNodeLike>;
|
|
|
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
|
|
};
|
|
|
|
defaultProps: {
|
|
|
|
onClick: () => void;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
export { Welcome, Button };
|