movable pattern for print layout
This commit is contained in:
parent
0e329e195d
commit
b879e23018
10 changed files with 591 additions and 79 deletions
|
@ -1,3 +1,7 @@
|
|||
import React from 'react'
|
||||
import { forwardRef } from 'react'
|
||||
|
||||
export const Group = (props) => <g {...props}>{props.children}</g>
|
||||
export const Group = forwardRef((props, ref) => (
|
||||
<g {...props} ref={ref}>
|
||||
{props.children}
|
||||
</g>
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue