Skip to main content

Get Started with React

You can use Spacha from React.

Install​

Install react-spacha from npm.

npm i react-spacha

Usage​

import { Spacha } from "react-spacha";

<Spacha price={200} message="Hello Spacha from React!" />;
tip

SpachaComponent (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>

Samples​

See samples at here.