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

Refactor site-wide constants #6

Closed
metamn opened this issue Jul 10, 2019 · 2 comments
Closed

Refactor site-wide constants #6

metamn opened this issue Jul 10, 2019 · 2 comments

Comments

@metamn
Copy link
Owner

metamn commented Jul 10, 2019

No description provided.

@metamn
Copy link
Owner Author

metamn commented Jul 10, 2019

["active", "inactive", "hidden", "invisible"] must be shared across the site

/**
   * The icon status
   */
  status: PropTypes.oneOf(["active", "inactive", "hidden", "invisible"]),
  /**
   * The icon itself. Preferably in SVG format.
   */
  children: PropTypes.any.isRequired,
  theme: PropTypes.shape({
    size: PropTypes.number,
    status: PropTypes.oneOf[("active", "hidden", "invisible")],
    colorPairs: PropTypes.shape({
      default: PropTypes.any,
      inactive: PropTypes.any
    })
  })

@metamn
Copy link
Owner Author

metamn commented Jul 21, 2019

Done.

@metamn metamn closed this as completed Jul 21, 2019
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

No branches or pull requests

1 participant