@nstudio/nativescript-label-glitch
v1.0.0
Published
Label with a Glitch!
Downloads
5
Readme
@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