Get Started with React
You can use Spacha from React.
Install
Install react-spacha from npm.
npm i react-spacha
Usage
- HTML
- Canvas
import { Spacha } from "react-spacha";
<Spacha price={200} message="Hello Spacha from React!" />;
tip
Spacha
Component (HTML view) has NO method to specify width
or height
. if the Spacha is too wide, then you can wrap entire of it with div tag and specify width
.
import { Spacha } from "react-spacha";
<div style={{width: "600px"}}>
{icon.conplete ? <Spacha
price={200}
message="Hello Spacha from React!"
/> : <div>}
</div>
import { Spacha } from "react-spacha";
<SpachaImage price={200} message="Hello Spacha from React!" />;
Samples
See samples at here.