We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 943ee9f commit 09b65d0Copy full SHA for 09b65d0
src/Alert.tsx
@@ -8,6 +8,11 @@ import { assert } from "tsafe/assert";
8
import type { Equals } from "tsafe";
9
import { useConstCallback } from "./lib/tools/powerhooks/useConstCallback";
10
import { createComponentI18nApi } from "./lib/i18n";
11
+// We make users import dsfr.css so we don't need to import the scoped CSS
12
+// but in the future if we have a complete component coverage it
13
+// we could stop requiring users to import the hole CSS and only import on a
14
+// per component basis.
15
+import "./dsfr/component/alert/alert.css";
16
17
export type AlertProps = {
18
className?: string;
0 commit comments