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

Type declaration

NameType
enterundefined | string
exitundefined | 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