UNPKG

@coreui/vue

Version:

UI Components Library for Vue.js

75 lines (72 loc) 1.7 kB
'use strict'; const Shape = { type: String, validator: (value) => { // The value must match one of these strings return [ 'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3', ].includes(value); }, }; const Color = { type: String, validator: (value) => { // The value must match one of these strings return [ 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'link', 'transparent', ].includes(value); }, }; const TextColor = { type: String, validator: (value) => { return [ 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', 'primary-emphasis', 'secondary-emphasis', 'success-emphasis', 'danger-emphasis', 'warning-emphasis', 'info-emphasis', 'light-emphasis', 'body', 'body-emphasis', 'body-secondary', 'body-tertiary', 'black', 'black-50', 'white', 'white-50', ].includes(value); }, }; exports.Color = Color; exports.Shape = Shape; exports.TextColor = TextColor; //# sourceMappingURL=props.js.map