Skip to content

Do validation and warning of button theme #6

@notmessenger

Description

@notmessenger

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'
});

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions