mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
refactor(core): reorganize superset-core packages into feature-based structure (#38448)
This commit is contained in:
committed by
GitHub
parent
5f0efd2be9
commit
357e35dc62
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import { css, styled } from '@apache-superset/core/ui';
|
||||
import { css, styled } from '@apache-superset/core/theme';
|
||||
|
||||
export const Styles = styled.div<{ isDashboardEditMode: boolean }>`
|
||||
${({ theme, isDashboardEditMode }) => css`
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
import { Component, ReactNode, MouseEvent } from 'react';
|
||||
import { safeHtmlSpan } from '@superset-ui/core';
|
||||
import { t } from '@apache-superset/core/ui';
|
||||
import { t } from '@apache-superset/core/translation';
|
||||
import PropTypes from 'prop-types';
|
||||
import { FaSort } from 'react-icons/fa';
|
||||
import { FaSortDown as FaSortDesc } from 'react-icons/fa';
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
import PropTypes from 'prop-types';
|
||||
import { t } from '@apache-superset/core/ui';
|
||||
import { t } from '@apache-superset/core/translation';
|
||||
|
||||
type SortFunction = (
|
||||
a: string | number | null,
|
||||
|
||||
Reference in New Issue
Block a user