Skip to content

Commit

Permalink
#5852 Buefy checkbox to neo checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
0xemagic committed May 5, 2023
1 parent a7c8a86 commit 8a05013
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions components/rmrk/Gallery/Holder/Holder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
<div class="is-flex is-justify-content-space-between box-container">
<b-field grouped group-multiline>
<div class="control">
<b-checkbox v-model="showDetailIcon">NFT Details</b-checkbox>
<NeoCheckbox v-model="showDetailIcon">NFT Details</NeoCheckbox>
</div>
<div
v-for="(column, index) in columnsVisible"
:key="index"
class="control">
<b-checkbox v-model="column.display">
<NeoCheckbox v-model="column.display">
{{ column.title }}
</b-checkbox>
</NeoCheckbox>
</div>
</b-field>
</div>
Expand Down Expand Up @@ -167,6 +167,7 @@ import { Component, Prop, Watch, mixins } from 'nuxt-property-decorator'
import { Debounce } from 'vue-debounce-decorator'
import { Interaction } from '@kodadot1/minimark/v1'
import { formatDistanceToNow } from 'date-fns'
import { NeoCheckbox } from '@kodadot1/brick'
import ChainMixin from '@/utils/mixins/chainMixin'
import KeyboardEventsMixin from '@/utils/mixins/keyboardEventsMixin'
Expand Down
5 changes: 3 additions & 2 deletions components/shared/form/BasicCheckbox.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<template>
<b-field>
<b-checkbox v-model="isChecked" :disabled="disabled">
<NeoCheckbox v-model="isChecked" :disabled="disabled">
{{ $t(label) }}
</b-checkbox>
</NeoCheckbox>
</b-field>
</template>

<script lang="ts">
import { Component, Prop, VModel, Vue } from 'nuxt-property-decorator'
import { NeoCheckbox } from '@kodadot1/brick'
@Component
export default class BasicCheckbox extends Vue {
Expand Down

0 comments on commit 8a05013

Please sign in to comment.