hunk.code_window:   }
     static create = p => s => props => (
       <Keyframes primitive={p} states={s} {...props} />
     )
     static Spring = Keyframes.create(Spring)
     static Trail = Keyframes.create(Trail)
     static Transition = Keyframes.create(Transition)
   }
  
hunk.labels: keep keep keep keep keep replace replace replace replace keep
hunk.file_path: src/Keyframes.js
hunk.type: replace
file: import React from 'react'
  import cx from 'classnames'
  import { Group } from '@vx/group'
  import { partition as d3partition } from 'd3-hierarchy'
  import { HierarchyDefaultNode as DefaultNode } from '@vx/hierarchy'
  
  export default function Partition({
    top,
    left,
    className,
    root,
    size,
    round,
    padding,
    children,
    nodeComponent = DefaultNode,
    ...restProps
  }) {
    const partition = d3partition()
    if (size) partition.size(size)
    if (round) partition.round(round)
    if (padding) partition.padding(padding)
  
    const data = partition(root)
    const links = data.links()
    const descendants = root.descendants()
  
    return (
      <Group top={top} left={left} className={cx('vx-partition', className)}>
        {children}
      </Group>
    )
  }
  