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

Do validation and warning of button theme #6

Open
notmessenger opened this issue Aug 8, 2016 · 0 comments
Open

Do validation and warning of button theme #6

notmessenger opened this issue Aug 8, 2016 · 0 comments

Comments

@notmessenger
Copy link
Member

https://github.com/softlayer/sl-ember-components/blob/master/addon/components/sl-button.js#L259-L261

/**
 * Theme values
 *
 * @memberof module:addon/components/ef-button
 * @enum {String}
 * @property {String} DANGER 'danger'
 * @property {String} INFO 'info'
 * @property {String} LINK 'link'
 * @property {String} PRIMARY 'primary'
 * @property {String} SECONDARY 'secondary'
 * @property {String} SUCCESS 'success'
 * @property {String} WARNING 'warning'
 */
export const Theme = Object.freeze({
  DANGER: 'danger',
  INFO: 'info',
  LINK: 'link',
  PRIMARY: 'primary',
  SECONDARY: 'secondary',
  SUCCESS: 'success',
  WARNING: 'warning'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant