Skip to content

Commit

Permalink
refactor(imports): export helpers and clean imports
Browse files Browse the repository at this point in the history
  • Loading branch information
adamviktora committed Mar 21, 2024
1 parent f51f7e1 commit c1136d4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
export * from "./findAncestor";
export * from "./helpers";
export * from "./pfPackageMatches";
export * from "./getFromPackage";
export * from "./getText";
export * from "./includesImport";
export * from "./JSXAttributes";
export * from "./JSXElements";
export * from "./pfPackageMatches";
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@ import {
JSXFragment,
Node,
} from "estree-jsx";
import { getFromPackage } from "../../helpers";
import {
getAttribute,
getAttributeText,
getAttributeValueText,
getNodesText,
} from "../../helpers/getText";
import { includesImport } from "../../helpers/includesImport";
import {
getChildElementByName,
getNodesText,
getExpression,
getFromPackage,
includesImport,
nodeIsComponentNamed,
} from "../../helpers/JSXElements";
import { getAttribute, getExpression } from "../../helpers/JSXAttributes";
} from "../../helpers";

const baseMessage =
"EmptyStateHeader has been moved inside of the EmptyState component and is now only customizable using props, and the EmptyStateIcon component now wraps content passed to the icon prop automatically. Additionally, the titleText prop is now required on EmptyState.";
Expand Down

0 comments on commit c1136d4

Please sign in to comment.