stellar-contracts icon indicating copy to clipboard operation
stellar-contracts copied to clipboard

Contract forms are React components that are reusable in other sites (i will add an example setup for this).

Open schandrakandi opened this issue 7 years ago • 1 comments

Can you please add these steps in detail ?

schandrakandi avatar Jul 05 '18 18:07 schandrakandi

hi @schandrakandi, that was the plan yes but I hadn't got to setting that up.

the idea is that the contract components under src/components/contracts would be exported with the npm package. then in your project you'd be able to import them as you would any other react component.

it's not a lot of effort to set it up like that. i'd like to revisit this project when I get some time. hopefully sometime in the near future. but feel free to jump in and do this yourself if you like. PRs totally welcome. :+1:

chatch avatar Jul 06 '18 02:07 chatch