Skip to content

Commit

Permalink
Add title slot
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG committed Feb 5, 2024
1 parent aaa6165 commit 32584f0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/vue/src/components/range/DynamicRangeSlider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,12 +339,8 @@ const DynamicRangeSlider = {
const { start, end } = this.range;
return (
<Container class={this.$props.className}>
{this.$props.title && (
<Title class={getClassName(this.$props.innerClass, 'title')}>
{this.$props.title}
</Title>
)}
<NoSSR>
{this.$scopedSlots.title ? this.$scopedSlots.title() : null}
<NoSSR class={getClassName(this.$props.innerClass, 'outer')}>
<Slider class={getClassName(this.$props.innerClass, 'slider')}>
<vue-slider-component
ref="slider"
Expand Down

0 comments on commit 32584f0

Please sign in to comment.