New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-arc-text-fixed

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-arc-text-fixed

> Wrapper Library of [arc-text](https://github.com/kappys1/arc-text) to curve any text font on the web directly with React.

latest
Source
npmnpm
Version
0.0.0-development
Version published
Maintainers
1
Created
Source

react-arc-text

Wrapper Library of arc-text to curve any text font on the web directly with React.

NPM licence Build Status JavaScript Style Guide semantic-release

Install

npm install --save react-arc-text

Examples

Here

Usage

import React, { Component } from 'react'

import ReactArcText from 'react-arc-text'

class Example extends Component {
  private text = '';
  private classFont = '';
  private direction = 1;
  private arc = 150;

  render () {
    return (
      <ReactArcText
        text={text}
        direction={direction}
        arc={arc}
        class={classFont}
        />
    )
  }
}

Params

ParameterTypeDefaultDescription
textstringText you want to curve
arcnumber150Angle you want to curve
directionnumber11 is clockwise mode and -1 is counter-clockwise mode
classstringto add class into Component

Author

Alex Marcos Gutierrez

License

MIT © [alex marcos <alexsbd1@gmail.com>](https://github.com/alex marcos <alexsbd1@gmail.com>)

Keywords

arc

FAQs

Package last updated on 13 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts