UNPKG

@barguide/template-react

Version:

React + TypeScript | Template

29 lines (19 loc) 896 B
# 🧩 Template React ![image-dependencies] ![image-minified] ![image-types] ![image-downloads] ![image-shaking] A sample React component that makes use of the `@barguide/style-guide` as well. ## Installation & Usage ```bash npm i @barguide/template-react ``` ```tsx import { TemplateReact } from '@barguide/template-react'; // Render it where you need it <TemplateReact heading="Sample Heading" />; ``` <!-- Images --> [image-dependencies]: https://badgen.net/bundlephobia/dependency-count/@barguide/template-react 'Dependencies' [image-downloads]: https://badgen.net/npm/dt/@barguide/template-react 'Downloads' [image-minified]: https://badgen.net/bundlephobia/minzip/@barguide/template-react 'Minified' [image-shaking]: https://badgen.net/bundlephobia/tree-shaking/@barguide/template-react 'Tree Shakeable' [image-types]: https://badgen.net/npm/types/@barguide/template-react 'Types'