woocommerce/packages/woocommerce-blocks/assets/js/editor-components/text-toolbar-button/index.js

18 lines
403 B
JavaScript
Raw Normal View History

2021-12-10 12:03:04 +00:00
/**
* External dependencies
*/
import { Button } from '@wordpress/components';
import classnames from 'classnames';
/**
* Internal dependencies
*/
import './style.scss';
function TextToolbarButton( { className = '', ...props } ) {
const classes = classnames( 'wc-block-text-toolbar-button', className );
return <Button className={ classes } { ...props } />;
}
export default TextToolbarButton;