GHHG10/CodeServer / opencode /packages /ui /src /components /favicon.stories.tsx
GHHG10's picture
download
raw
896 Bytes
// @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>
),
}

Xet Storage Details

Size:
896 Bytes
·
Xet hash:
9a698ec4fec4cc494251273ec00b1eaef58a6c0d0005658207ad7ec41cd00000

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.