@groceristar/grocery-component
v1.0.10
Published
module to use grocery components between projects
Downloads
14
Keywords
Readme
example how i use list:
// this is an ingredient for list
import React, { Component, Fragment } from 'react';
import { List, DefaultList, IngredientList } from '@groceristar/grocery-component';
const IngredientsList = ({ ingredients, title }) => (
<Fragment>
<h2>{title}</h2>
<DefaultList items={ingredients} />
</Fragment>
);
- for creating build run 'yarn clean && yarn build'
- tests, lint, coverage is not working at this moment
- [ ] Make Display List tests works again