Skip to content

Commit

Permalink
rename files
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Sep 2, 2022
1 parent 2e01fb2 commit 2cb0d8f
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions code/addons/backgrounds/template/stories/grid.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
import globalThis from 'global';

export default {
component: globalThis.Components.Button,
args: {
children: 'Click Me!',
},
parameters: {
backgrounds: {
grid: {
cellSize: 10,
cellAmount: 4,
opacity: 0.2,
},
},
chromatic: { disable: true },
},
};

export const Basic = {
parameters: {},
};

export const Custom = {
parameters: {
backgrounds: {
grid: {
cellSize: 100,
cellAmount: 10,
opacity: 0.8,
},
},
},
};

// Grid should have an offset of 0 when in fullscreen
export const Fullscreen = {
parameters: {
layout: 'fullscreen',
},
};

export const Disabled = {
parameters: {
backgrounds: {
grid: {
disable: true,
},
},
},
};

0 comments on commit 2cb0d8f

Please sign in to comment.