# npm
npm install --save @notice-org/react
# yarn
yarn add @notice-org/react
# pnpm
pnpm install @notice-org/react
2. You can now import and use the Notice component everywhere
import { Notice } from '@notice-org/react'
const AnyReactComponent = () => {
return <Notice pageId="{{{project}}}" />
}
<Notice
pageId="string" // required
lang="string" // optionnal
theme="light | dark" // optionnal
navigationType="query | memory" // default to memory
/>
// You can also pass children to this component that will act as a loading state
<Notice pageId="...">
<span>Loading...</span>
</Notice>