import React from 'react' ; import type { FC } from 'react' ; import { Block } from '@primitives/block' ; import type { TLayoutOutOfFlow } from './types' ; export const LayoutOutOfFlow = ( { children , floatinIndex , shouldScroll , shouldIgnorePointerEvents } ) => ( < Block isFloating floatingIndex = { floatinIndex } shouldScroll = { shouldScroll } shouldIgnorePointerEvents = { shouldIgnorePointerEvents } top = { 0 } right = { 0 } bottom = { 0 } left = { 0 } > { children } < /Block>); LayoutOutOfFlow . displayName = 'LayoutOutOfFlow' ;