Skip to content

Commit

Permalink
fix: update example for react-shape
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Dec 25, 2019
1 parent 41f7964 commit af04b38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/x6-example-features/src/pages/react-shape.tsx
@@ -1,9 +1,9 @@
import React from 'react'
import { Graph } from '@antv/x6'
import { register } from '@antv/x6-react-shape'
import { Graph, Shape } from '@antv/x6'
import { ReactShape } from '@antv/x6-react-shape'
import './index.less'

register()
Shape.register('react', ReactShape, true)

export default class Example extends React.Component {
private container: HTMLDivElement
Expand Down

0 comments on commit af04b38

Please sign in to comment.