Skip to content

Commit

Permalink
Merge pull request #1543 from FormidableLabs/task/audit-victory-stack…
Browse files Browse the repository at this point in the history
…-props

Update DefinitelyTyped props for VictoryStack
  • Loading branch information
maddles authored Apr 29, 2020
2 parents 86e6cbb + a165e59 commit e74676e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/victory-stack/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,26 @@ import {
DomainPaddingPropType,
DomainPropType,
EventPropTypeInterface,
OriginType,
StringOrNumberOrCallback,
VictoryCommonProps,
VictoryLabelableProps,
VictoryMultiLabelableProps,
VictoryStyleInterface
} from "victory-core";

export interface VictoryStackProps extends VictoryCommonProps, VictoryMultiLabelableProps {
export interface VictoryStackProps
extends VictoryCommonProps,
VictoryLabelableProps,
VictoryMultiLabelableProps {
categories?: CategoryPropType;
children?: React.ReactNode | React.ReactNode[];
colorScale?: ColorScalePropType;
domain?: DomainPropType;
domainPadding?: DomainPaddingPropType;
events?: EventPropTypeInterface<"data" | "labels" | "parent", StringOrNumberOrCallback>[];
eventKey?: StringOrNumberOrCallback;
horizontal?: boolean;
fillInMissingData?: boolean;
origin?: OriginType;
style?: VictoryStyleInterface;
xOffset?: number;
}
Expand Down

0 comments on commit e74676e

Please sign in to comment.