UNPKG

@visx/group

Version:
16 lines 707 B
import type { ReactNode, Ref, SVGProps } from 'react'; export type GroupProps = { /** Top offset applied to `<g/>`. */ top?: number; /** Left offset applied to `<g/>`. */ left?: number; /** Override `top` and `left` to provide the entire `transform` string. */ transform?: string; /** className to apply to `<g/>`. */ className?: string; children?: ReactNode; /** ref to underlying `<g/>`. */ innerRef?: Ref<SVGGElement>; }; export default function Group({ top, left, transform, className, children, innerRef, ...restProps }: GroupProps & Omit<SVGProps<SVGGElement>, keyof GroupProps>): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Group.d.ts.map