Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal: remove internal circular dependencies #3925

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading