Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export enum ChipsInputChangeReason {
Removed = 'removed'
}

export type ChipsInputChangeReasonUnion = `${ChipsInputChangeReason}`;
export type ChipsInputChangeReasonProps = ChipsInputChangeReasonUnion | ChipsInputChangeReason;

type RenderChip = {index: number; chip: ChipsInputChipProps; isMarkedForRemoval: boolean};

export type ChipsInputChipProps = ChipProps & {invalid?: boolean};
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-ui-lib/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export {default as Button, ButtonProps, ButtonSize, ButtonAnimationDirection} fr
export {default as Card, CardProps, CardSectionProps, CardSelectionOptions} from './components/card';
export {default as Carousel, CarouselProps, PageControlPosition} from './components/carousel';
export {default as Checkbox, CheckboxProps, CheckboxRef} from './components/checkbox';
export {default as ChipsInput, ChipsInputProps, ChipsInputChipProps} from './components/chipsInput';
export {default as ChipsInput, ChipsInputProps, ChipsInputChipProps, ChipsInputChangeReason, ChipsInputChangeReasonUnion, ChipsInputChangeReasonProps} from './components/chipsInput';
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the ChipsInputChangeReasonUnion from the export 🙏

export {default as Chip, ChipProps} from './components/chip';
export {default as ColorPicker, ColorPickerProps} from './components/colorPicker';
export {default as ColorPalette, ColorPaletteProps} from './components/colorPalette';
Expand Down
Loading