/** * WordPress dependencies */ import { __ } from '@wordpress/i18n'; import { useContext } from '@wordpress/element'; /** * Internal dependencies */ import { AdminContext } from '../../../index'; import SettingItem from '../../components/setting-item'; export default function GuidesIndentation() { const { editorOptions, setEditorOptions } = useContext( AdminContext ); const onChange = ( value: boolean ) => { setEditorOptions( { ...editorOptions, guides: { ...editorOptions.guides, indentation: value, }, } ); }; return ( ); }