---
/**
* GradientText - Text with gradient color effect
*
* Usage:
* ```astro
* Highlighted Text
* Custom Gradient
* ```
*/
interface Props {
as?: 'span' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
gradient?: 'primary' | 'secondary' | 'accent' | 'rainbow';
class?: string;
}
const { as: Element = 'span', gradient = 'primary', class: className = '' } = Astro.props;
---