@empathyco/x-components
Version:
Empathy X Components
36 lines (33 loc) • 891 B
JavaScript
import { defineComponent } from 'vue';
import { AnimationProp } from '../../types/animation-prop.js';
/**
* Simple panel that receives its open state via prop, which is responsible of rendering
* default slot inside a configurable transition.
*
* @public
*/
var _sfc_main = defineComponent({
props: {
/**
* Handles if the panel is rendered. It is used with v-if instead of v-show to get better
* performance.
*
* @public
*/
open: {
type: Boolean,
required: true,
},
/**
* Animation component that will be used to animate the panel content.
*
* @public
*/
animation: {
type: AnimationProp,
default: 'div',
},
},
});
export { _sfc_main as default };
//# sourceMappingURL=base-toggle-panel.vue2.js.map