Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
feat(RangeInput): add className on submit
Browse files Browse the repository at this point in the history
  • Loading branch information
samouss committed Oct 22, 2017
1 parent 1430840 commit de8702a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/RangeInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
@input="refinement.max = $event.target.value"
/>
<slot name="submit">
<button>Ok</button>
<button :class="bem('submit')">Ok</button>
</slot>
</form>

Expand Down
14 changes: 7 additions & 7 deletions src/components/__tests__/__snapshots__/range-input.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exports[`RangeInput render default 1`] = `
placeholder
class="ais-range-input__input ais-range-input__input--to"
>
<button>
<button class="ais-range-input__submit">
Ok
</button>
</form>
Expand All @@ -46,7 +46,7 @@ exports[`RangeInput render with footer 1`] = `
placeholder
class="ais-range-input__input ais-range-input__input--to"
>
<button>
<button class="ais-range-input__submit">
Ok
</button>
</form>
Expand Down Expand Up @@ -75,7 +75,7 @@ exports[`RangeInput render with header 1`] = `
placeholder
class="ais-range-input__input ais-range-input__input--to"
>
<button>
<button class="ais-range-input__submit">
Ok
</button>
</form>
Expand All @@ -102,7 +102,7 @@ exports[`RangeInput render with max 1`] = `
placeholder
class="ais-range-input__input ais-range-input__input--to"
>
<button>
<button class="ais-range-input__submit">
Ok
</button>
</form>
Expand All @@ -129,7 +129,7 @@ exports[`RangeInput render with min 1`] = `
placeholder
class="ais-range-input__input ais-range-input__input--to"
>
<button>
<button class="ais-range-input__submit">
Ok
</button>
</form>
Expand All @@ -156,7 +156,7 @@ exports[`RangeInput render with precision 1`] = `
placeholder
class="ais-range-input__input ais-range-input__input--to"
>
<button>
<button class="ais-range-input__submit">
Ok
</button>
</form>
Expand All @@ -183,7 +183,7 @@ exports[`RangeInput render with separator 1`] = `
placeholder
class="ais-range-input__input ais-range-input__input--to"
>
<button>
<button class="ais-range-input__submit">
Ok
</button>
</form>
Expand Down

0 comments on commit de8702a

Please sign in to comment.