mirror of
https://github.com/Mastermindzh/react-cookie-consent.git
synced 2025-01-21 02:50:58 +01:00
14 lines
392 B
TypeScript
14 lines
392 B
TypeScript
import { Story } from "@storybook/react";
|
|
import CookieConsent from "../../src";
|
|
import { Intro } from "./intro";
|
|
|
|
export const DefaultTemplate: Story<any> = (args) => (
|
|
<>
|
|
<Intro />
|
|
<CookieConsent {...args}>
|
|
This website uses cookies to enhance the user experience.
|
|
<span style={{ fontSize: "10px" }}>This bit of text is smaller :O</span>
|
|
</CookieConsent>
|
|
</>
|
|
);
|