Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stories/Modal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ import { createModal } from "@codegouvfr/react-dsfr/Modal";
import { Button } from "@codegouvfr/react-dsfr/Button";

const { AcceptTermsModal, acceptTermsModalButtonProps } = createModal(
name: "simple",
name: "acceptTerms", // name of the modal, it will be used to generate the component name and the button props.
isOpenedByDefault: false
);

Expand Down