@spicy-ui/core
Version:
A themable and extensible React UI library, ready to use out of the box
13 lines (12 loc) • 364 B
TypeScript
/// <reference types="react" />
export declare type LiteralUnion<T extends U, U = string> = T | (U & {
_?: never;
});
export interface AsProp<P = any> {
as?: string | React.ComponentType<P>;
}
export interface ChildrenProp {
children?: React.ReactNode;
}
export interface HTMLAttributes<T = HTMLElement> extends React.HTMLAttributes<T> {
}