react-ztext
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

react-ztext

Ztext.js implementation in React

NPM JavaScript Style Guide

Install

npm install --save react-ztext
yarn add react-ztext

Usage

import React from 'react'
import Ztext from 'react-ztext'

const Example = () => (
  <Ztext
    depth='1rem'
    direction='both'
    event='pointer'
    eventRotation='30deg'
    eventDirection='default'
    fade={false}
    layers={10}
    perspective='500px'
    style={{
      fontSize: '4rem'
    }}
  >
    <span role='img' aria-label='emoji'>
      😂🔥🍔
    </span>
  </Ztext>
)

ZText.js Documentation

License

MIT © snettah

Readme

Keywords

none

Package Sidebar

Install

npm i react-ztext

Weekly Downloads

11

Version

1.0.3

License

MIT

Unpacked Size

38.8 kB

Total Files

12

Last publish

Collaborators

  • snettah