kodadot/nft-gallery

View on GitHub
libs/ui/src/components/NeoInput/NeoInput.vue

Summary

Maintainability
Test Coverage
<script>
import { OInput } from '@oruga-ui/oruga-next'

export default {
  mixins: [OInput],
  props: {
    iconPack: {
      type: String,
      default: 'fasr',
    },
  },
  computed: {
    rootClasses() {
      return [
        'neo-input',
        this.computedClass('rootClass', 'o-ctrl-input'),
        {
          [this.computedClass('expandedClass', 'o-ctrl-input--expanded')]:
            this.expanded,
        },
      ]
    },
  },
}
</script>

<style lang="scss">
@import './NeoInput.scss';
</style>