recastui
Version:
Solidjs components library focused on usability, whitelabel theming, accessibility and developer experience
16 lines (15 loc) • 644 B
TypeScript
import { __RecastUIComponentsInternalProps, DOMElements } from '../types';
import { Component, JSX } from 'solid-js';
import { RecastUIStyleObject, RecastUIStyleValue } from '../system';
import { BoxSystemStyleProps } from './style-props';
export declare type BoxComponentProps = {
as?: DOMElements | Component<any>;
class?: any;
children?: JSX.Element;
variant?: string;
sx?: RecastUIStyleObject;
};
export declare type SystemStyledProps = {
[key in BoxSystemStyleProps]?: RecastUIStyleValue<string | number>;
};
export declare type BoxProps = BoxComponentProps & SystemStyledProps & __RecastUIComponentsInternalProps;