Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design API for Vue components #14

Closed
bartaxyz opened this issue Apr 30, 2018 · 0 comments
Closed

Design API for Vue components #14

bartaxyz opened this issue Apr 30, 2018 · 0 comments

Comments

@bartaxyz
Copy link
Owner

bartaxyz commented Apr 30, 2018

Developer with Vue must be able to use the Vue icon components as follows

import { PaperPlane } from '@xyz-icon-set/vue';

export default {
  components: {
    PaperPlaneIcon: PaperPlane,
  }
}

and in template

<template>
  <paper-plane-icon />
</template>

Icon natively uses currentColor as fill. Can be specified manually.

<template>
  <paper-plane-icon color="#F06262" />
</template>
@bartaxyz bartaxyz added the Vue label Apr 30, 2018
@bartaxyz bartaxyz added this to To do in Icons Integration Apr 30, 2018
@bartaxyz bartaxyz added On Hold and removed On Hold labels May 2, 2018
@bartaxyz bartaxyz moved this from To do to In progress in Icons Integration May 2, 2018
Icons Integration automation moved this from In progress to Done Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant