Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fathym_atomic/src/utils/jsx.utils.ts>factory

This is the core atomic library to build design libraries from.
Go to Latest
function factory
import { factory } from "https://deno.land/x/fathym_atomic@v0.0.144/src/utils/jsx.utils.ts";

Type Parameters

T extends { new (...args: any[]): any; }

Parameters

type: T
optional
data: InstanceType<T>

Returns

InstanceType<T>