npm i --save @nstudio/nativescript-label-glitch
- Version: 1.0.0
- GitHub: https://github.com/nstudio/nativescript-ui-kit
- NPM: https://www.npmjs.com/package/%40nstudio%2Fnativescript-label-glitch
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
@nstudio/nativescript-label-glitch
Label with a Glitch!
npm install @nstudio/nativescript-label-glitch
Usage
Use within any view layout:
<LabelGlitch text="Hello" />
When using flavors, you can register the element for usage in your markup:
import { LabelGlitch } from '@nstudio/nativescript-label-glitch'
// Angular
import { registerElement } from '@nativescript/angular'
registerElement('LabelGlitch', () => LabelGlitch)
// Solid
import { registerElement } from 'dominative';
registerElement('LabelGlitch', LabelGlitch);
// Svelte
import { registerNativeViewElement } from 'svelte-native/dom'
registerNativeViewElement('LabelGlitch', () => LabelGlitch);
// React
import { registerElement } from 'react-nativescript';
registerElement('LabelGlitch', () => LabelGlitch);
// Vue
import Vue from 'nativescript-vue'
Vue.registerElement('LabelGlitch', () => LabelGlitch)
License
Apache License Version 2.0