AlignmentMatrixControl Edit

AlignmentMatrixControl components let adjust horizontal and vertical alignments for UI.

Usage

import { AlignmentMatrixControl } from '@wordpress/components';
import { useState } from '@wordpress/elememt';

const Example = () => {
    const [ alignment, setAlignment ] = useState( 'center center' );

    return (
        <AlignmentMatrixControl value={ alignment } onChange={ setAlignment } />
    );
};