UNPKG

@visx/group

Version:
16 lines (11 loc) 456 B
# @visx/group <a title="@visx/group npm downloads" href="https://www.npmjs.com/package/@visx/group"> <img src="https://img.shields.io/npm/dm/@visx/group.svg?style=flat-square" /> </a> `<Group />` provides a simplified API for SVG `<g />` elements, which are containers for other SVG objects. You may pass in a `top` and `left` margin (instead of `transform={translate(...)}`) and a `className`. ## Installation ``` npm install --save @visx/group ```