Skip to main content

Interface: FullScreenControlProps

Properties for FullScreenControl component.

Properties

children?

optional children: [Element, Element]

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>

Defined in

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


className?

optional className: string

HTML class

Defined in

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


container?

optional container: RefObject<HTMLElement>

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

Defined in

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


id?

optional id: string

HTML id

Defined in

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


labels?

optional labels: object

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

enter

enter: undefined | string

exit

exit: undefined | string

Defined in

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


style?

optional style: CSSProperties

HTML CSS style

Defined in

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