Skip to content

chore(Switch): converted examples to TypeScript#7771

Merged
nicolethoen merged 1 commit into
patternfly:mainfrom
andyyvo:iss7769
Jul 28, 2022
Merged

chore(Switch): converted examples to TypeScript#7771
nicolethoen merged 1 commit into
patternfly:mainfrom
andyyvo:iss7769

Conversation

@andyyvo

@andyyvo andyyvo commented Jul 28, 2022

Copy link
Copy Markdown
Contributor

What: Closes #7769 .

Additional issues:

@andyyvo andyyvo requested review from nicolethoen and tlabaj July 28, 2022 16:35
@andyyvo

andyyvo commented Jul 28, 2022

Copy link
Copy Markdown
Contributor Author

Let me know if I should change the examples for Disabled and Uncontrolled switches to include states -- although I think they are unnecessary @nicolethoen @tlabaj

@patternfly-build

patternfly-build commented Jul 28, 2022

Copy link
Copy Markdown
Collaborator

@kmcfaul kmcfaul left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

You are correct that uncontrolled examples should not have state, otherwise it would be controlled.

@nicolethoen nicolethoen merged commit 1ec29ac into patternfly:main Jul 28, 2022
@patternfly-build

Copy link
Copy Markdown
Collaborator

Your changes have been released in:

  • eslint-plugin-patternfly-react@4.66.8
  • @patternfly/react-catalog-view-extension@4.78.8
  • @patternfly/react-charts@6.80.8
  • @patternfly/react-code-editor@4.68.8
  • @patternfly/react-console@4.78.8
  • @patternfly/react-core@4.227.8
  • @patternfly/react-docs@5.88.8
  • @patternfly/react-icons@4.78.8
  • @patternfly/react-inline-edit-extension@4.72.8
  • demo-app-ts@4.187.8
  • @patternfly/react-integration@4.189.8
  • @patternfly/react-log-viewer@4.72.8
  • @patternfly/react-styles@4.77.8
  • @patternfly/react-table@4.96.8
  • @patternfly/react-tokens@4.79.8
  • @patternfly/react-topology@4.74.8
  • @patternfly/react-virtualized-extension@4.74.8
  • transformer-cjs-imports@4.65.8

Thanks for your contribution! 🎉

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.

Switch: convert examples to TypeScript

4 participants