/** * WordPress dependencies */ import { useId } from '@wordpress/element'; type Props = { label: string; value: string; options: readonly { label: string; value: string }[]; onChange: ( value: string ) => void; }; const Select = ( { label, value, options, onChange }: Props ) => { const id = useId(); return (
); }; export default Select;