UNPKG

@gechiui/block-editor

Version:
25 lines (21 loc) 515 B
/** * GeChiUI dependencies */ import { forwardRef, useContext } from '@gechiui/element'; import { __unstableCompositeGroup as CompositeGroup } from '@gechiui/components'; /** * Internal dependencies */ import InserterListboxContext from './context'; function InserterListboxRow( props, ref ) { const state = useContext( InserterListboxContext ); return ( <CompositeGroup state={ state } role="presentation" ref={ ref } { ...props } /> ); } export default forwardRef( InserterListboxRow );