Skip to content

Commit

Permalink
docs: fixed image for storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Jun 28, 2024
1 parent 3db6895 commit 08d631f
Show file tree
Hide file tree
Showing 3 changed files with 12,934 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/nft-bitmap-react/stories/Bitmap.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import type {Meta, StoryObj} from '@storybook/react';
import { fn } from '@storybook/test';
import { Bitmap as Component } from '../lib/components/Bitmap';
import image from './fixtures/image';

const meta: Meta<typeof Component> = {
component: Component,
title: 'Image',
args: {
image,
onCellClick: fn(),
onBitmapEnter: fn(),
onBitmapLeave: fn(),
Expand Down
3 changes: 2 additions & 1 deletion packages/nft-bitmap-react/stories/BitmapViewer.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import type {Meta, StoryObj} from '@storybook/react';
import { fn } from '@storybook/test';
import { BitmapViewer as Component } from '../lib/components/BitmapViewer';

import image from './fixtures/image';
const meta: Meta<typeof Component> = {
component: Component,
title: 'Image',
args: {
image,
onCellClick: fn(),
onBitmapEnter: fn(),
onBitmapLeave: fn(),
Expand Down
Loading

0 comments on commit 08d631f

Please sign in to comment.