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

Add support on consistent API for all the library components for class name and disabled props #423

Merged
merged 4 commits into from
Jan 3, 2022

Conversation

hadasfa
Copy link
Contributor

@hadasfa hadasfa commented Jan 2, 2022

add support on consistent API for all the library components for class name and disabled props

Basic

  • Used plop (npm run plop) to create a new component.
  • [ V] PR has description.
  • New component is functional and uses Hooks.
  • Component defines PropTypes.

Style

  • Styles are added to NewComponent.modules.scss file inside of the NewComponent folder.
  • Component uses CSS Modules.
  • Design is compatible with Monday Design System.

Storybook

  • Stories were added to /src/NewComponent/__stories__/NewComponent.stories.js file.
  • Stories include all flows of using the component.

Tests

},
ref
) => {
const overrideClassName = backwardCompatibilityForProperties([className, svgClassName], "");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

undefined create here bad class name in {circle-loader-spinner ${overrideClassName} when empty

@hadasfa hadasfa merged commit 5e4ce65 into master Jan 3, 2022
@hadasfa hadasfa deleted the api/hadas/disabled-class-name branch January 3, 2022 08:35
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.

2 participants