UNPKG

reflexy

Version:

Flexbox layout react components

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