@twick/studio - v0.14.0 / Exports
@twick/studio - v0.14.0
Table of contents
References
Functions
- AudioPanel
- CirclePanel
- IconPanel
- ImagePanel
- RectPanel
- StudioHeader
- SubtitlesPanel
- TextPanel
- Toolbar
- TwickStudio
- VideoPanel
- useStudioManager
References
default
Renames and re-exports TwickStudio
Functions
AudioPanel
▸ AudioPanel(«destructured»): Element
Parameters
| Name | Type |
|---|---|
«destructured» | AudioPanelProps |
Returns
Element
Defined in
studio/src/components/panel/audio-panel.tsx:37
CirclePanel
▸ CirclePanel(«destructured»): Element
Parameters
| Name | Type |
|---|---|
«destructured» | CirclePanelProps |
Returns
Element
Defined in
studio/src/components/panel/circle-panel.tsx:46
IconPanel
▸ IconPanel(«destructured»): Element
Parameters
| Name | Type |
|---|---|
«destructured» | IconPanelProps |
Returns
Element
Defined in
studio/src/components/panel/icon-panel.tsx:46
ImagePanel
▸ ImagePanel(«destructured»): Element
Parameters
| Name | Type |
|---|---|
«destructured» | ImagePanelProps |
Returns
Element
Defined in
studio/src/components/panel/image-panel.tsx:33
RectPanel
▸ RectPanel(«destructured»): Element
Parameters
| Name | Type |
|---|---|
«destructured» | RectPanelProps |
Returns
Element
Defined in
studio/src/components/panel/rect-panel.tsx:43
StudioHeader
▸ StudioHeader(«destructured»): Element
Parameters
| Name | Type |
|---|---|
«destructured» | StudioHeaderProps |
Returns
Element
Defined in
studio/src/components/header.tsx:29
SubtitlesPanel
▸ SubtitlesPanel(«destructured»): Element
Parameters
| Name | Type |
|---|---|
«destructured» | Object |
› addSubtitle | () => void |
› deleteSubtitle | (index: number) => void |
› splitSubtitle | (index: number) => void |
› subtitles | SubtitleEntry[] |
› updateSubtitle | (index: number, subtitle: SubtitleEntry) => void |
Returns
Element
Defined in
studio/src/components/panel/subtitles-panel.tsx:43
TextPanel
▸ TextPanel(«destructured»): Element
Parameters
| Name | Type |
|---|---|
«destructured» | TextPanelProps |
Returns
Element
Defined in
studio/src/components/panel/text-panel.tsx:57
Toolbar
▸ Toolbar(«destructured»): Element
Parameters
| Name | Type |
|---|---|
«destructured» | Object |
› selectedTool | string |
› setSelectedTool | (tool: string) => void |
Returns
Element
Defined in
studio/src/components/toolbar.tsx:63
TwickStudio
▸ TwickStudio(«destructured»): Element
Parameters
| Name | Type |
|---|---|
«destructured» | Object |
› studioConfig? | StudioConfig |
Returns
Element
Defined in
studio/src/components/twick-studio.tsx:32
VideoPanel
▸ VideoPanel(«destructured»): Element
Parameters
| Name | Type |
|---|---|
«destructured» | VideoPanelProps |
Returns
Element
Defined in
studio/src/components/panel/video-panel.tsx:35
useStudioManager
▸ useStudioManager(): Object
Returns
Object
| Name | Type |
|---|---|
addElement | (element: TrackElement) => Promise<void> |
selectedElement | null | TrackElement |
selectedProp | string |
selectedTool | string |
setSelectedProp | Dispatch<SetStateAction<string>> |
setSelectedTool | Dispatch<SetStateAction<string>> |
updateElement | (element: TrackElement) => void |