Skip to content

Commit

Permalink
fix(fscomponents): add type to AddToCart swatchesProps
Browse files Browse the repository at this point in the history
  • Loading branch information
skyeckstrom authored and Sebastian Dovenor committed Jul 2, 2018
1 parent 159c4a6 commit 331c05e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fscomponents/src/components/AddToCart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { PureComponent } from 'react';
import { StyleProp, View, ViewStyle } from 'react-native';
import { cloneDeep, find, get } from 'lodash-es';
import { Button } from './Button';
import { Swatches } from './Swatches';
import { Swatches, SwatchesProps } from './Swatches';
import { Stepper, StepperProps } from './Stepper';

import {
Expand All @@ -28,7 +28,7 @@ export interface AddToCartProps {
actionBarStyle?: StyleProp<ViewStyle>;

// Child Props
swatchesProps?: any;
swatchesProps?: Partial<SwatchesProps>;
stepperProps?: Partial<StepperProps>;
buttonProps?: any;

Expand Down

0 comments on commit 331c05e

Please sign in to comment.