Module exposing: Default, SmallDescriptionOnlyInfo, TitleOnlyWarning, ClosableError
// Source: https://github.com/codegouvfr/react-dsfr | License: MIT | Copyright 2020 GitHub user u/garronej
// Provided via justclaw.it.com; keep this notice with the code.
import { Alert, type AlertProps } from "../dist/Alert";
import { sectionName } from "./sectionName";
import { getStoryFactory, logCallbacks } from "./getStory";
import { assert } from "tsafe/assert";
import type { Equals } from "tsafe";
const { meta, getStory } = getStoryFactory({
sectionName,
"wrappedComponent": { Alert },
"description": `
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/alerte)
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/Alert.tsx)
## Uncontrolled mode
\`\`\`tsx
import { Alert } from "@codegouvfr/react-dsfr/
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key