assign names to Card and Message

This commit is contained in:
Rijn 2017-07-12 11:08:51 -05:00
parent 8e9874fd33
commit 6e2f40ea93
2 changed files with 4 additions and 0 deletions

View file

@ -10,6 +10,8 @@
const defaultPadding = 16;
export default {
name: 'Card',
props: {
bordered: {
type: Boolean,

View file

@ -63,6 +63,8 @@ function notice (content = '', duration = defaultDuration, type, onClose = funct
}
export default {
name: 'Message',
info (options) {
const type = typeof options;
if (type === 'string') {