react-vite-themes
Version:
A test/experimental React theme system created for learning purposes. Features atomic design components, SCSS variables, and dark/light theme support. Not intended for production use.
27 lines • 762 B
TypeScript
import React from 'react';
import type { Variant } from '../../../types/colors';
import './Hero.scss';
export interface HeroAction {
label: string;
onClick?: () => void;
href?: string;
variant?: 'primary' | 'secondary' | 'neutral';
size?: 'sm' | 'md' | 'lg';
icon?: string;
disabled?: boolean;
external?: boolean;
}
export interface HeroProps {
title: string;
subtitle?: string;
description?: string;
actions?: HeroAction[];
size?: 'sm' | 'md' | 'lg' | 'xl';
background?: 'gradient' | 'solid' | 'image' | 'none';
backgroundImage?: string;
variant?: Variant;
className?: string;
children?: React.ReactNode;
}
export declare const Hero: React.FC<HeroProps>;
//# sourceMappingURL=Hero.d.ts.map