hunk.code_window:   Controller,
     getSprings,
     flushUpdateQueue,
     setSprings,
   } from '../Controller'
   import { useMemo as useMemoOne } from '../helpers'
   import { useSpringContext } from '../SpringContext'
   import { SpringHandle } from '../SpringHandle'
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit: import { useMemo as useMemoOne, hasProps } from '../helpers'
  
hunk.file_path: packages/core/src/hooks/useSprings.ts
hunk.type: replace
file: import { ElementType } from 'react'
  import * as Zdog from 'react-zdog'
  
  type ZdogExports = typeof Zdog
  type ZdogElements = {
    [P in keyof ZdogExports]: P extends 'Illustration'
      ? never
      : ZdogExports[P] extends ElementType
      ? P
      : never
  }[keyof ZdogExports]
  
  export const primitives: ZdogElements[] = [
    'Anchor',
    'Shape',
    'Group',
    'Rect',
    'RoundedRect',
    'Ellipse',
    'Polygon',
    'Hemisphere',
    'Cylinder',
    'Cone',
    'Box',
  ]
  