@orderingstack/front-components-product-configurator 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,19 +7,19 @@ This package contain ProductConfigurator component.
7
7
  `npm i @orderingstack/front-components-product-configurator`
8
8
 
9
9
  ```ts
10
- import { ProductConfigurator } from '@orderingstack/front-components-product-configurator/';
11
- import '@orderingstack/front-components-product-configurator/dist/style.css';
10
+ import { ProductConfigurator } from '@orderingstack/front-components-product-configurator/'
11
+ import '@orderingstack/front-components-product-configurator/dist/style.css'
12
12
 
13
- export const ProductConfiguratorWrapper = props => {
14
- const { product } = props;
13
+ export const ProductConfiguratorWrapper = (props) => {
14
+ const { product } = props
15
15
 
16
16
  return (
17
17
  <ProductConfigurator
18
18
  product={product}
19
19
  primaryColor="blue"
20
- handleGoBack={() => console.log("handleGoBack)}
21
- handleAddToBasket={ value => console.log(value)}
20
+ handleGoBack={() => console.log('handleGoBack')}
21
+ handleAddToBasket={(value) => console.log(value)}
22
22
  />
23
- );
24
- };
23
+ )
24
+ }
25
25
  ```