recordDrawer

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCreator

func RenderCreator() protocol.CompRender

Types

type Props

type Props struct {
	Title string `json:"title"`
	Size  string `json:"size"`
}

type RecordDrawer

type RecordDrawer struct {
	Type  string `json:"type"`
	Props Props  `json:"props"`
	State State  `json:"state"`
	// contains filtered or unexported fields
}

func (*RecordDrawer) GenComponentState

func (r *RecordDrawer) GenComponentState(c *apistructs.Component) error

func (*RecordDrawer) SetCtxBundle

func (r *RecordDrawer) SetCtxBundle(ctx context.Context) error

type State

type State struct {
	Visible bool `json:"visible"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL