@buun_group/brutalist-ui
Version:
A brutalist-styled component library
29 lines (28 loc) • 927 B
TypeScript
/**
* @module ThemePicker
* @description Interactive theme selection component with live preview, code generation, and theme customization. Allows users to browse predefined themes and generate custom themes.
*/
import React from 'react';
import { BrutalistTheme } from './types';
/**
* Props for the ThemePicker component
*/
export interface ThemePickerProps {
/** Visual variant affecting size and layout
* @default 'default'
*/
variant?: 'default' | 'compact';
/** Whether to show brutalist-style shadow effects
* @default true
*/
brutalistShadow?: boolean;
/** Whether to show code generation section
* @default true
*/
showCode?: boolean;
/** Additional CSS class names */
className?: string;
/** Callback fired when theme changes */
onThemeChange?: (theme: BrutalistTheme) => void;
}
export declare const ThemePicker: React.FC<ThemePickerProps>;