📦(all) update packages namespace
Change packages namespace from `@openfun` to `@gouvfr-lasuite`.
This commit is contained in:
committed by
Jean-Baptiste PENRATH
parent
6097929593
commit
a6681d19ed
@@ -15,7 +15,7 @@ Cunningham provides a versatile Modal component for displaying any kind of infor
|
||||
language='ts'
|
||||
dark
|
||||
format={false}
|
||||
code={`import { Modal } from "@openfun/cunningham-react";`}
|
||||
code={`import { Modal } from "@gouvfr-lasuite/cunningham-react";`}
|
||||
/>
|
||||
|
||||
> ⚠️ If you want to try dark theme on the modal, you need to go on individual stories. It will not work on this page due to iframe wrapping.
|
||||
@@ -29,7 +29,7 @@ The component is easy to use. You need to use the `useModal()` hook to get all t
|
||||
dark
|
||||
format={false}
|
||||
code={`
|
||||
import { CunninghamProvider, Button, Modal } from "@openfun/cunningham-react";
|
||||
import { CunninghamProvider, Button, Modal } from "@gouvfr-lasuite/cunningham-react";
|
||||
|
||||
const App = () => {
|
||||
const modal = useModal();
|
||||
@@ -67,7 +67,7 @@ Here is an example of a modal automatically closing after 2 seconds.
|
||||
dark
|
||||
format={false}
|
||||
code={`
|
||||
import { CunninghamProvider, Button, Modal } from "@openfun/cunningham-react";
|
||||
import { CunninghamProvider, Button, Modal } from "@gouvfr-lasuite/cunningham-react";
|
||||
|
||||
const App = () => {
|
||||
const modal = useModal();
|
||||
@@ -169,7 +169,7 @@ The way you will be able to use those pre built modals is by using async calls t
|
||||
dark
|
||||
format={false}
|
||||
code={`
|
||||
import { CunninghamProvider, Button, Modal } from "@openfun/cunningham-react";
|
||||
import { CunninghamProvider, Button, Modal } from "@gouvfr-lasuite/cunningham-react";
|
||||
|
||||
const App = () => {
|
||||
const modals = useModals();
|
||||
|
||||
Reference in New Issue
Block a user