1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
import React from "react" import PropTypes from 'prop-types' import classnames from "classnames" Button.propTypes = { onClick: PropTypes.func.isRequired, children: PropTypes.node.isRequired, icon: PropTypes.string, title: PropTypes.string, } export default function Button({ onClick, children, icon, disabled, className, title }) { return (
aboutsummaryrefslogtreecommitdiffstats |