Skip to content
Snippets Groups Projects

Main

Closed Eryk Mika requested to merge main into just_for_review
All threads resolved!

Files

+ 2
7
import {Button} from "@wordpress/components";
function AlignButtons(props) {
export default function AlignButtons ({label, onChange}) {
const {label, onChange} = props;
const handleChange = function (newAlignment) {
const handleChange = (newAlignment) => {
if (onChange) {
onChange(newAlignment);
}
@@ -34,7 +33,3 @@ function AlignButtons(props) {
</div>
);
}
export default AlignButtons;
Loading