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 {
2323 calloutVariant () {
2424 return this .variant ? ` callout-${ this .variant } ` : ' '
2525 }
26- },
27- mounted () {
28- console .error (this .$options ._componentTag + ' component is deprecated and will be removed in coreui-vue 3.0 version' )
2926 }
3027}
3128 </script >
Original file line number Diff line number Diff line change 11import Callout from './Callout'
2+ import CCallout from './CCallout'
3+
24
35export {
4- Callout
6+ Callout ,
7+ CCallout
58}
You can’t perform that action at this time.
0 commit comments