Write an example in README file ?
Closed this issue ยท 2 comments
calag4n commented
Hi Ismail,
I would like to use your library but I don't know how to import a component ๐
๏ธ.
I'm not familiar with stylus and the docs don't seems really (and above all quickly) helpful.
Could you write an example like import a button in react project maybe ?
Thank you and nice job by the way !
ismail9k commented
Hi @calag4n,
I am really glad that you liked my library ๐๐. I plan to expose it as React components until then you can use the lib as an ordinary framework.
- Install the npm package
npm i neomorphism
- Import styles file
import 'neomorphism';
- Use the library HTML markup
function App() {
return (
<div className="App">
<button class="button is-md">Standard</button>
</div>
);
}
calag4n commented
Oh, I see.
It's pretty cool, thanks โ๏ธ.