Skip to content

Commit

Permalink
feat(sunburst): remove unused types
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc authored and wyze committed Apr 23, 2021
1 parent e059e80 commit 836823e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
16 changes: 0 additions & 16 deletions packages/sunburst/src/types.ts
Expand Up @@ -104,19 +104,3 @@ export type CompleteSvgProps<RawDatum> = DataProps<RawDatum> &
MouseEventHandlers<RawDatum, SVGPathElement> &
ModernMotionProps &
CommonProps<RawDatum>

export type SunburstArcProps<RawDatum> = Pick<
SvgProps<RawDatum>,
'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'onMouseMove' | 'borderWidth' | 'borderColor'
> &
Pick<CommonProps<RawDatum>, 'isInteractive' | 'tooltip'> & {
arcGenerator: ArcGenerator
node: ComputedDatum<RawDatum>
}

export type SunburstLabelProps<RawDatum> = {
label: CommonProps<RawDatum>['arcLabel']
nodes: Array<ComputedDatum<RawDatum>>
skipAngle?: number
textColor: CommonProps<RawDatum>['arcLabelsTextColor']
}
7 changes: 0 additions & 7 deletions yarn.lock
Expand Up @@ -6032,13 +6032,6 @@
dependencies:
"@types/d3-time" "*"

"@types/d3-shape@^1.3.5":
version "1.3.5"
resolved "https://registry.yarnpkg.com/@types/d3-shape/-/d3-shape-1.3.5.tgz#c0164c1be1429473016f855871d487f806c4e968"
integrity sha512-aPEax03owTAKynoK8ZkmkZEDZvvT4Y5pWgii4Jp4oQt0gH45j6siDl9gNDVC5kl64XHN2goN9jbYoHK88tFAcA==
dependencies:
"@types/d3-path" "^1"

"@types/d3-shape@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@types/d3-shape/-/d3-shape-2.0.0.tgz#61aa065726f3c2641aedc59c3603475ab11aeb2f"
Expand Down

0 comments on commit 836823e

Please sign in to comment.