Skip to content

Commit

Permalink
Internal: remove internal circular dependencies (#3925)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertCarreras authored Jan 7, 2025
1 parent 3fb7bdc commit 2f99e44
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/gestalt-datepicker/src/DateRange.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ type Props = {
readOnly?: boolean;
};

export enum DateRangeType {
enum DateRangeType {
Primary,
Secondary,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ import ReactDatePicker, { registerLocale } from 'react-datepicker';
import { Icon, useDeviceType } from 'gestalt';
import { Props } from '../DatePicker';
import styles from '../DatePicker.css';
import { DateRangeType } from '../DateRange';

enum DateRangeType {
Primary,
Secondary,
}

type ModifiedProps = Props & {
onChange: (arg1: { startDate: Date; endDate: Date }) => void;
Expand Down
2 changes: 1 addition & 1 deletion packages/gestalt/src/ButtonGroup.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Children, ReactNode } from 'react';
import { Flex } from '.';
import Box from './Box';
import Flex from './Flex';
import useInExperiment from './useInExperiment';

type Props = {
Expand Down

0 comments on commit 2f99e44

Please sign in to comment.