@pqmcgill/group
v0.0.161
Published
vx group
Maintainers
Readme
@vx/group
npm install --save @vx/groupA Group is a container for other objects. It lets you pass in a top and left margin and a classname.
Example usage:
import { Group } from '@vx/group';
const myGroup = (
<Group top={50} left={20}>
/* Children here */
</Group>
)Properties
| Name | Default | Type | Description |
|:--------- |:------- |:------ |:--------------------------------------------------- |
| top | 0 | number | Margin on top |
| left | 0 | number | Margin on left |
| className | | string | The class name associated with the svg g element. |
