Skip to content

Commit

Permalink
feat(ds): import css
Browse files Browse the repository at this point in the history
- Minor refactor to props in some few components.
  • Loading branch information
Thiago Saife Rodrigues committed Nov 30, 2021
1 parent 2dd1777 commit 4eb4d73
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
6 changes: 4 additions & 2 deletions src/components/Menu/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,10 @@ const SbMenuList = {
default: 'bottom-end',
},
// eslint-disable-next-line
reference: [String, Element, Object],
usePortal: Boolean,
reference: [String, Object, Element],
usePortal: {
type: Boolean,
},
zIndex: {
type: Number,
default: 5,
Expand Down
12 changes: 9 additions & 3 deletions src/components/Popover/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ const SbPopover = {
},

// component itself properties
isOpen: Boolean,
isOpen: {
type: Boolean,
},
offset: {
type: Array,
default: () => [0, 8],
Expand All @@ -78,9 +80,13 @@ const SbPopover = {
// eslint-disable-next-line
reference: [String, Element],
// eslint-disable-next-line
useAnchorId: String,
useAnchorId: {
type: String,
},
// eslint-disable-next-line
usePortalTarget: String,
usePortalTarget: {
type: String,
},
usePortal: {
type: Boolean,
default: false,
Expand Down
4 changes: 3 additions & 1 deletion src/components/Slideover/Slideover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ export default {
SbBlokUi,
},
props: {
isOpen: Boolean,
isOpen: {
type: Boolean,
},
orientation: {
type: String,
default: 'right',
Expand Down

0 comments on commit 4eb4d73

Please sign in to comment.