You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hydro/packages/ui-default/components/scratchpad/PanelButtonComponent.jsx

20 lines
429 B
JavaScript

import classNames from 'classnames';
import PropTypes from 'prop-types';
export default function PanelButtonComponent(props) {
const {
className,
children,
...rest
} = props;
const cn = classNames(className, 'scratchpad__panel-button');
return (
<button {...rest} className={cn}>{children}</button>
);
}
PanelButtonComponent.propTypes = {
className: PropTypes.string,
children: PropTypes.node,
};