@project44-manifest/react
Version:
Manifest Design System react components
9 lines • 383 B
TypeScript
import * as React from 'react';
import type { Component, Options, Props } from './types';
/**
* Creates a type-safe component with the `as` prop and `React.forwardRef`.
*
* Inspired by ariakit and chakra-ui.
*/
export declare function createComponent<O extends Options>(component: React.ForwardRefRenderFunction<any, Props<O>>): Component<O>;
//# sourceMappingURL=system.d.ts.map