Skip to content

Commit 937fc24

Browse files
committedAug 8, 2021
chore: clean-up
1 parent 97a2455 commit 937fc24

File tree

5 files changed

+1
-62
lines changed

5 files changed

+1
-62
lines changed
 

‎src/components/navbar/CNavbarBrand.ts

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const CNavbarBrand = defineComponent({
2424
setup(props, { slots }) {
2525
return () =>
2626
h(
27-
// TODO: check this line
2827
props.component ? props.component : props.href ? 'a' : 'span',
2928
{
3029
class: 'header-brand',

‎src/components/props.ts

+1-16
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
const Any: Object = {
2-
validator: function (value: any) {
3-
value
4-
return true
5-
},
6-
}
7-
const Value: Object = {
8-
validator: function (value: any) {
9-
if (typeof value === 'string' || typeof value === 'object' || typeof value === 'number') {
10-
return true
11-
} else {
12-
return false
13-
}
14-
},
15-
}
161
const Shape = {
172
type: String,
183
validator: (value: string): boolean => {
@@ -83,4 +68,4 @@ const Breakpoint = {
8368
},
8469
}
8570

86-
export { Any, Value, Shape, Align, Color, TextColor, Breakpoint }
71+
export { Align, Breakpoint, Color, Shape, TextColor }

‎src/exportCoreUI.ts

-17
This file was deleted.

‎src/utils/config/index.ts

-11
This file was deleted.

‎src/utils/plugins/index.ts

-17
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.