23 lines
410 B
JavaScript
23 lines
410 B
JavaScript
/**
|
|
* 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;
|