PHP Classes

File: src/components/spinner/Spinner.stories.tsx

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WordPress React Plugin Kit   src/components/spinner/Spinner.stories.tsx   Download  
File: src/components/spinner/Spinner.stories.tsx
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WordPress React Plugin Kit
Environment to develop new WordPress plugins
Author: By
Last change:
Date: 1 year ago
Size: 393 bytes
 

Contents

Class file image Download
import { ComponentStory, ComponentMeta } from '@storybook/react'; import Spinner from './Spinner'; export default { title: 'Common/Spinner', component: Spinner, } as ComponentMeta<typeof Spinner>; const Template: ComponentStory<typeof Spinner> = (args) => ( <Spinner {...args} /> ); export const DefaultSpinner = Template.bind({}); DefaultSpinner.args = { align: 'left', };