UNPKG

@meonode/ui

Version:

A structured approach to component composition, direct CSS-first prop styling, built-in theming, smart prop handling (including raw property pass-through), and dynamic children.

12 lines 695 B
import { type ReactNode } from 'react'; import type { CSSInterpolation } from '@emotion/serialize'; import type { NodeElement } from '../node.type.js'; export interface StyledRendererProps<E extends NodeElement> { element: E; children?: ReactNode; css?: CSSInterpolation; } export default function StyledRenderer<E extends NodeElement, TProps extends Record<string, any>>({ element, css, children, ...props }: StyledRendererProps<E> & TProps): import("react").ReactElement<Omit<StyledRendererProps<E> & TProps, "children" | "css" | "element"> & { css: CSSInterpolation; }, string | import("react").JSXElementConstructor<any>>; //# sourceMappingURL=styled-renderer.client.d.ts.map