import type { SVGAttributes } from 'preact'
/* Small inline icon set (24×24, stroked with currentColor) – no icon font or dependency. */
const P = {
download: (
<>
>
),
image: (
<>
>
),
vector: (
<>
>
),
table: (
<>
>
),
print: (
<>
>
),
locate: (
<>
>
),
link: (
<>
>
),
plus: ,
minus: ,
fit: ,
close: ,
chevron: ,
check: ,
alert: (
<>
>
),
info: (
<>
>
),
spinner: ,
}
export type IconName = keyof typeof P
export function Icon({
name,
size = 16,
...rest
}: { name: IconName; size?: number } & SVGAttributes) {
return (
)
}