UNPKG

hcmstorybook

Version:

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

34 lines (33 loc) 849 B
/// <reference types="react" /> import PropTypes from 'prop-types'; import './TextButton.css'; /** * Primary UI component for user interaction */ export declare const TextButton: { ({ backgroundColor, size, label, behaviour }: { backgroundColor: any; size: any; label: any; behaviour: any; }): JSX.Element; propTypes: { /** * What background color to use */ backgroundColor: PropTypes.Requireable<string>; /** * Button contents */ label: PropTypes.Validator<string>; /** * Optional click handler */ onClick: PropTypes.Requireable<(...args: any[]) => any>; }; defaultProps: { backgroundColor: any; label: string; onClick: any; }; };