Files
tf_code/packages/ui/src/components/favicon.stories.tsx
Adam 05d77b7d47 chore: storybook (#15285)
Co-authored-by: David Hill <iamdavidhill@gmail.com>
2026-02-26 16:05:04 -06:00

50 lines
896 B
TypeScript

// @ts-nocheck
import * as mod from "./favicon"
const docs = `### Overview
Injects favicon and app icon meta tags for the document head.
Render once near the app root (head management).
### API
- No props.
### Variants and states
- Single configuration.
### Behavior
- Registers link and meta tags via Solid Meta components.
### Accessibility
- Not applicable.
### Theming/tokens
- Not applicable.
`
export default {
title: "UI/Favicon",
id: "components-favicon",
component: mod.Favicon,
tags: ["autodocs"],
parameters: {
docs: {
description: {
component: docs,
},
},
},
}
export const Basic = {
render: () => (
<div style={{ display: "grid", gap: "8px" }}>
<mod.Favicon />
<div style={{ color: "var(--text-weak)", "font-size": "12px" }}>
Head tags are injected for favicon and app icons.
</div>
</div>
),
}