File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change
1
+ <template functional>
2
+ <div :class =" `callout ${props.variant ? 'callout-' + props.variant : ''}`" >
3
+ <slot ></slot >
4
+ </div >
5
+ </template >
6
+
7
+ <script >
8
+ export default {
9
+ name: ' CCallout' ,
10
+ props: {
11
+ variant: String ,
12
+ }
13
+ }
14
+ </script >
Original file line number Diff line number Diff line change @@ -23,9 +23,6 @@ export default {
23
23
calloutVariant () {
24
24
return this .variant ? ` callout-${ this .variant } ` : ' '
25
25
}
26
- },
27
- mounted () {
28
- console .error (this .$options ._componentTag + ' component is deprecated and will be removed in coreui-vue 3.0 version' )
29
26
}
30
27
}
31
28
</script >
Original file line number Diff line number Diff line change 1
1
import Callout from './Callout'
2
+ import CCallout from './CCallout'
3
+
2
4
3
5
export {
4
- Callout
6
+ Callout ,
7
+ CCallout
5
8
}
You can’t perform that action at this time.
0 commit comments