welcome-ui
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
18 lines (17 loc) • 528 B
TypeScript
import { CSSObject } from '@xstyled/styled-components';
import { ThemeValues } from '../../theme';
export type ThemeDrawers = {
backdrop: CSSObject;
closeButton: CSSObject;
content: CSSObject;
default: CSSObject;
footer: CSSObject;
sizes: {
horizontal: Record<Size, Record<'width', string>>;
vertical: Record<Size, Record<'height', string>>;
};
title: CSSObject;
};
type Size = 'sm' | 'md' | 'lg';
export declare const getDrawers: (theme: ThemeValues) => ThemeDrawers;
export {};