{"modulePath":"github.com/erda-project/erda","version":"v1.5.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package infoMapTable\n\n## Types\n\n```go\ntype Column struct {\n\tDataIndex string `json:\"dataIndex\"`\n\tTitle     string `json:\"title\"`\n\tWidth     int    `json:\"width\"`\n}\n```\n\n```go\ntype InfoMapTable struct {\n\t*cptype.SDK\n\tCtx context.Context\n\tbase.DefaultProvider\n\tType  string            `json:\"type\"`\n\tProps Props             `json:\"props\"`\n\tData  map[string][]Pair `json:\"data\"`\n}\n```\n\n```go\nfunc (infoMapTable *InfoMapTable) Render(ctx context.Context, c *cptype.Component, s cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error\n```\n\n```go\ntype Label struct {\n\tValue       string      `json:\"value\"`\n\tRenderType  string      `json:\"renderType\"`\n\tStyleConfig StyleConfig `json:\"styleConfig\"`\n}\n```\n\n```go\ntype Pair struct {\n\tId    string `json:\"id\"`\n\tLabel Label  `json:\"label\"`\n\tValue string `json:\"value\"`\n}\n```\n\n```go\ntype Props struct {\n\tRowKey     string   `json:\"rowKey\"`\n\tBordered   bool     `json:\"bordered\"`\n\tShowHeader bool     `json:\"showHeader\"`\n\tPagination bool     `json:\"pagination\"`\n\tColumns    []Column `json:\"columns\"`\n}\n```\n\n```go\ntype StyleConfig struct {\n\tFontWeight string `json:\"fontWeight\"`\n}\n```\n\n","path":"github.com/erda-project/erda/modules/cmp/component-protocol/components/cmp-dashboard-nodeDetail/infoMapTable","name":"infoMapTable","synopsis":"","isRedistributable":true}
