Updated plop templates and added mobile first components
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
.c-CartIcon {
|
||||
|
||||
}
|
||||
19
src/app/components/molecules/CartIcon/CartIcon.jsx
Normal file
19
src/app/components/molecules/CartIcon/CartIcon.jsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
const CartIcon = props => {
|
||||
return (
|
||||
<div className='c-CartIcon'>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
CartIcon.defaultProps = {
|
||||
|
||||
};
|
||||
|
||||
CartIcon.propTypes = {
|
||||
|
||||
};
|
||||
|
||||
export default CartIcon;
|
||||
8
src/app/components/molecules/CartIcon/CartIcon.test.js
Normal file
8
src/app/components/molecules/CartIcon/CartIcon.test.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import React from 'react';
|
||||
import CartIcon from './CartIcon';
|
||||
|
||||
describe('CartIcon', () => {
|
||||
it('renders without error', () => {
|
||||
|
||||
});
|
||||
});
|
||||
3
src/app/components/molecules/CartIcon/index.js
Normal file
3
src/app/components/molecules/CartIcon/index.js
Normal file
@@ -0,0 +1,3 @@
|
||||
import CartIcon from './CartIcon.jsx';
|
||||
|
||||
export default CartIcon;
|
||||
Reference in New Issue
Block a user