Skip to main content

@twick/studio - v0.14.0 / Exports

@twick/studio - v0.14.0

Table of contents

References

Functions

References

default

Renames and re-exports TwickStudio

Functions

AudioPanel

AudioPanel(«destructured»): Element

Parameters

NameType
«destructured»AudioPanelProps

Returns

Element

Defined in

studio/src/components/panel/audio-panel.tsx:37


CirclePanel

CirclePanel(«destructured»): Element

Parameters

NameType
«destructured»CirclePanelProps

Returns

Element

Defined in

studio/src/components/panel/circle-panel.tsx:46


IconPanel

IconPanel(«destructured»): Element

Parameters

NameType
«destructured»IconPanelProps

Returns

Element

Defined in

studio/src/components/panel/icon-panel.tsx:46


ImagePanel

ImagePanel(«destructured»): Element

Parameters

NameType
«destructured»ImagePanelProps

Returns

Element

Defined in

studio/src/components/panel/image-panel.tsx:33


RectPanel

RectPanel(«destructured»): Element

Parameters

NameType
«destructured»RectPanelProps

Returns

Element

Defined in

studio/src/components/panel/rect-panel.tsx:43


StudioHeader

StudioHeader(«destructured»): Element

Parameters

NameType
«destructured»StudioHeaderProps

Returns

Element

Defined in

studio/src/components/header.tsx:29


SubtitlesPanel

SubtitlesPanel(«destructured»): Element

Parameters

NameType
«destructured»Object
› addSubtitle() => void
› deleteSubtitle(index: number) => void
› splitSubtitle(index: number) => void
› subtitlesSubtitleEntry[]
› updateSubtitle(index: number, subtitle: SubtitleEntry) => void

Returns

Element

Defined in

studio/src/components/panel/subtitles-panel.tsx:43


TextPanel

TextPanel(«destructured»): Element

Parameters

NameType
«destructured»TextPanelProps

Returns

Element

Defined in

studio/src/components/panel/text-panel.tsx:57


Toolbar

Toolbar(«destructured»): Element

Parameters

NameType
«destructured»Object
› selectedToolstring
› setSelectedTool(tool: string) => void

Returns

Element

Defined in

studio/src/components/toolbar.tsx:63


TwickStudio

TwickStudio(«destructured»): Element

Parameters

NameType
«destructured»Object
› studioConfig?StudioConfig

Returns

Element

Defined in

studio/src/components/twick-studio.tsx:32


VideoPanel

VideoPanel(«destructured»): Element

Parameters

NameType
«destructured»VideoPanelProps

Returns

Element

Defined in

studio/src/components/panel/video-panel.tsx:35


useStudioManager

useStudioManager(): Object

Returns

Object

NameType
addElement(element: TrackElement) => Promise<void>
selectedElementnull | TrackElement
selectedPropstring
selectedToolstring
setSelectedPropDispatch<SetStateAction<string>>
setSelectedToolDispatch<SetStateAction<string>>
updateElement(element: TrackElement) => void

Defined in

studio/src/hooks/use-studio-manager.tsx:30