Skip to content

Commit

Permalink
Interface fix for Picker (#458)
Browse files Browse the repository at this point in the history
interface fix
  • Loading branch information
marcinsawicki authored Dec 12, 2022
1 parent e03566f commit aa50aa3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/react-components/src/components/Picker/Picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ import * as React from 'react';
import { Error } from '@livechat/design-system-icons/react/material';
import cx from 'clsx';

import { Trigger, TriggerSize } from './Trigger';
import { Trigger } from './Trigger';
import { IPickerListItem, PickerList } from './PickerList';
import { Icon } from '../Icon';
import { KeyCodes } from '../../utils/keyCodes';

import styles from './Picker.module.scss';
import { TriggerBody } from './TriggerBody';
import { SELECT_ALL_OPTION_KEY } from './constants';
import { Size } from 'utils';

const baseClass = 'picker';

Expand All @@ -22,7 +23,7 @@ export interface IPickerProps {
error?: string;
options: IPickerListItem[];
selected?: IPickerListItem[] | null;
size?: TriggerSize;
size?: Size;
placeholder?: string;
isRequired?: boolean;
noSearchResultText?: string;
Expand Down

0 comments on commit aa50aa3

Please sign in to comment.