0.0.161 • Published 6 years ago

@pqmcgill/group v0.0.161

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

@vx/group

npm install --save @vx/group

A 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

NameDefaultTypeDescription
top0numberMargin on top
left0numberMargin on left
classNamestringThe class name associated with the svg g element.

Source For Components