UNPKG

reflexy

Version:

Flexbox layout react components

9 lines (8 loc) 457 B
import React from 'react'; import type { Styleable } from './Flex'; export interface TweakableElementWrapperProps extends Styleable { element: React.ReactElement<React.PropsWithChildren<Styleable>>; forwardProps?: boolean; } /** Apply props to cloned element */ export default function TweakableElementWrapper({ element, className, style, children, forwardProps, ...rest }: React.PropsWithChildren<TweakableElementWrapperProps>): React.JSX.Element;