svelisy
Version:
svelisy - DaisyUI components built with Svelte 🌼
15 lines (14 loc) • 666 B
TypeScript
import type { IComponentBaseProps, ComponentSize } from '../../types';
import type { HTMLAttributes, HTMLImgAttributes } from 'svelte/elements';
export type TProps = Omit<HTMLAttributes<HTMLDivElement>, 'color'> & IComponentBaseProps & {
bordered?: boolean;
imageFull?: boolean;
normal?: ComponentSize | boolean;
compact?: ComponentSize | boolean;
side?: ComponentSize | boolean;
};
export type TTitleProps = Omit<HTMLAttributes<HTMLDivElement>, 'color'> & IComponentBaseProps & {
tag?: 'div' | 'h1' | 'h2' | 'h3';
};
export type TImageProps = HTMLImgAttributes;
export type TBodyProps = HTMLAttributes<HTMLDivElement> & IComponentBaseProps;