mirror of
https://github.com/apache/superset.git
synced 2026-06-02 22:29:26 +00:00
feat(explore): Add empty state to annotations (#20160)
* feat(explore): Add empty state to annotations * Set line height for small empty state description * Simplify code
This commit is contained in:
committed by
GitHub
parent
c8fe518a7b
commit
0ee1f492a7
@@ -53,6 +53,7 @@ const propTypes = {
|
||||
placeholder: PropTypes.string,
|
||||
filterOption: PropTypes.func,
|
||||
tokenSeparators: PropTypes.arrayOf(PropTypes.string),
|
||||
notFoundContent: PropTypes.object,
|
||||
|
||||
// ControlHeader props
|
||||
label: PropTypes.string,
|
||||
@@ -179,6 +180,7 @@ export default class SelectControl extends React.PureComponent {
|
||||
showHeader,
|
||||
value,
|
||||
tokenSeparators,
|
||||
notFoundContent,
|
||||
// ControlHeader props
|
||||
description,
|
||||
renderTrigger,
|
||||
@@ -245,6 +247,7 @@ export default class SelectControl extends React.PureComponent {
|
||||
sortComparator: this.props.sortComparator,
|
||||
value: getValue(),
|
||||
tokenSeparators,
|
||||
notFoundContent,
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user