0.1.3 • Published 3 years ago
text-curve v0.1.3
Text-Curve in React
Text curve will curve your text in certain angle.
Installation
npm i text-curve
Example
import Title from "text-curve";
const Example = ()=>{
return (
<Title text="Hello World" arc={180} radius={300} className="custom-class" />
);
}
export default Example;
Options
props | type | default |
---|---|---|
text | string | Test |
arc | number | 120 |
radius | number | 400 |
className | string | test |
Repo
GitHub .