chore: Adds theme object to chart properties (#19951)

This commit is contained in:
Michael S. Molina
2022-05-04 09:55:22 -03:00
committed by GitHub
parent 5dd3ea154b
commit e9032e95ec
19 changed files with 77 additions and 26 deletions

View File

@@ -16,7 +16,11 @@
* specific language governing permissions and limitations
* under the License.
*/
import { DatasourceType, TimeGranularity } from '@superset-ui/core';
import {
DatasourceType,
supersetTheme,
TimeGranularity,
} from '@superset-ui/core';
import transformProps from '../../src/BigNumber/BigNumberWithTrendline/transformProps';
import {
BigNumberDatum,
@@ -89,6 +93,7 @@ function generateProps(
ownState: {},
filterState: {},
behaviors: [],
theme: supersetTheme,
};
}