Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: Add storybook #4325

Closed
wants to merge 1 commit into from

Conversation

iamareebjamal
Copy link
Member

No description provided.

@vercel
Copy link

vercel bot commented Apr 16, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/io53wih62
✅ Preview: https://open-event-frontend-git-storybook.eventyay.vercel.app

@codecov
Copy link

codecov bot commented Apr 16, 2020

Codecov Report

Merging #4325 (937aa2f) into development (0eeff94) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           development    #4325   +/-   ##
============================================
  Coverage        22.96%   22.96%           
============================================
  Files              478      478           
  Lines             5024     5024           
  Branches             8        8           
============================================
  Hits              1154     1154           
  Misses            3869     3869           
  Partials             1        1           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0eeff94...937aa2f. Read the comment docs.

Copy link
Member

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 13
           

Complexity increasing per file
==============================
- stories/1-Button.stories.js  1
         

See the complete overview on Codacy

export default {
title: 'Button',
argTypes: {
children: { control: 'text' },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy found an issue: Unexpected trailing comma.

},
};

const Template = (args) => ({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


export const Emoji = Template.bind({});
Emoji.args = {
children: '😀 😎 👍 💯',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy found an issue: Unexpected trailing comma.


const Template = (args) => ({
template: hbs`<button {{action "onClick"}}>{{children}}</button>`,
context: args,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy found an issue: Unexpected trailing comma.

import { linkTo } from '@storybook/addon-links';

export default {
title: 'Button',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy found an issue: Missing space after key 'title'.


export const Text = Template.bind({});
Text.args = {
children: 'Button',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy found an issue: Missing space after key 'children'.

Text.args = {
children: 'Button',
actions: {
onClick: action('onClick'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy found an issue: Unexpected trailing comma.

};

const Template = (args) => ({
template: hbs`<button {{action "onClick"}}>{{children}}</button>`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy found an issue: Missing space after key 'template'.

title: 'Button',
argTypes: {
children: { control: 'text' },
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy found an issue: Unexpected trailing comma.

export const Text = Template.bind({});
Text.args = {
children: 'Button',
actions: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy found an issue: Missing space after key 'actions'.


const Template = (args) => ({
template: hbs`<button {{action "onClick"}}>{{children}}</button>`,
context: args,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy found an issue: Missing space after key 'context'.


export default {
title: 'Button',
argTypes: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy found an issue: Missing space after key 'argTypes'.

`,
context: {
actions: {
onClick: linkTo('example-introduction--page'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy found an issue: Unexpected trailing comma.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants