--- import more16 from './svgs/more-16.svg?raw'; import more24 from './svgs/more-24.svg?raw'; import more32 from './svgs/more-32.svg?raw'; export interface Props { size: 16 | 24 | 32; label?: string; class?: string; } const { size = 24, label, class: className } = Astro.props; let raw: string; if (size === 16) raw = more16; else if (size === 24) raw = more24; else if (size === 32) raw = more32; else raw = ''; const classes = ['nds-icon-more', className].filter(Boolean).join(' '); const svg = raw .replace(/fill="#[A-Fa-f0-9]{3,8}"/g, 'fill="currentColor"') .replace('