1
0
Fork 0

movable pattern for print layout

This commit is contained in:
Enoch Riese 2023-06-04 23:28:43 -05:00
parent 0e329e195d
commit b879e23018
10 changed files with 591 additions and 79 deletions

View file

@ -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>
))