Generates a legend based on provided data.
Additional css classes passed from parent
type: string
defaultValue: ''
Select a color for each item
type: func
Array of items that represents a legend example: [{ id: 1, color: #ff00ff, label: 'apple'},.. ],
type: array
defaultValue: []
Select an icon for each item
type: func
defaultValue: () => undefined
styles for each item
type: string
defaultValue: ''
Select a key for each item
type: func
Select a label for each item
type: func
Select a className for each symbol
type: func
defaultValue: undefined
Select a value for each item
type: func
defaultValue: undefined
type: string
defaultValue: ''