@bianic-ui/system
Version:
Bianic UI system primitives
19 lines (18 loc) • 736 B
TypeScript
/// <reference types="react" />
import { Dict } from "@bianic-ui/utils";
import { SystemStyleObject } from "@bianic-ui/styled-system";
export declare const jsx: (type: React.ElementType, props: Dict, ...children: React.ReactNode[]) => import("react").ReactElement<{}, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
interface SxProp {
sx?: SystemStyleObject;
}
declare module "react" {
interface Attributes extends SxProp {
}
}
declare global {
namespace JSX {
interface IntrinsicAttributes extends SxProp {
}
}
}
export default jsx;