Skip to main content

Interface: FullScreenControlProps

Defined in: packages/core/src/components/controls/FullScreenControl.tsx:12

Properties for FullScreenControl component.

Properties

children?

optional children: [Element, Element]

Defined in: packages/core/src/components/controls/FullScreenControl.tsx:44

It's possible to customize the button, by passing to JSX Element. First one is for the "enter fullscreen", and the second to "exit fullscreen". Example :

<FullScreenControl>
<BiFullscreen />
<BiExitFullscreen />
</FullScreenControl>

className?

optional className: string

Defined in: packages/core/src/components/controls/FullScreenControl.tsx:21

HTML class


container?

optional container: RefObject<null | HTMLElement>

Defined in: packages/core/src/components/controls/FullScreenControl.tsx:31

If defined, this container will be taken for the fullscreen instead of the sigma one.


id?

optional id: string

Defined in: packages/core/src/components/controls/FullScreenControl.tsx:16

HTML id


labels?

optional labels: object

Defined in: packages/core/src/components/controls/FullScreenControl.tsx:50

Map of the labels we use in the component. This is usefull for I18N

enter?

optional enter: string

exit?

optional exit: string


style?

optional style: CSSProperties

Defined in: packages/core/src/components/controls/FullScreenControl.tsx:26

HTML CSS style