bannerImage

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCreator

func RenderCreator() protocol.CompRender

Types

type ComponentImage

type ComponentImage struct {
	Version string `json:"version,omitempty"`
	Name    string `json:"name,omitempty"`
	Type    string `json:"type,omitempty"`
	Props   Props  `json:"props,omitempty"`
	State   State  `json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*ComponentImage) GenComponentState

func (i *ComponentImage) GenComponentState(c *apistructs.Component) error

type Props

type Props struct {
	Visible bool   `json:"visible"`
	Size    string `json:"size"`
	Src     string `json:"src"`
}

type State

type State struct {
	IsEmpty bool `json:"isEmpty"`
}

Jump to

Keyboard shortcuts

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