类型 EmptyData

API 文档由 Go 源码生成,内容为英文。

type EmptyData struct {
	Media         EmptyMediaVariant
	Icon          ui.Icon
	Title         string
	Description   string
	ContentHeight float32
}

EmptyData is the content of an empty state. Icon is optional (a zero Icon leaves the media out). ContentHeight reserves room for EmptyContent below the description, typically a button row; Empty returns its rectangle.