Skip to main content

Group

Group is a container used to group other Annotations

Hello, World!

Restriction

Group must have at least one child

Props

Mandatory

Optional

  • style: customizes group children style
    type: CSSProperties
    default: {}

  • horizontalAlign: changes group horizontal align
    type: 'start' | 'middle' | 'end' | 'none'
    default: none

  • verticalAlign: changes group vertical align
    type: 'start' | 'middle' | 'end' | 'none'
    default: 'none'

horizontalAlign='none'Hello!(x,y)
horizontalAlign='start'Hello!(x,y)
horizontalAlign='middle'Hello!(x,y)
horizontalAlign='end'Hello!(x,y)