Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2178 from teamleadercrm/Email-selector-type-improve
Browse files Browse the repository at this point in the history
Email selector type improvement
  • Loading branch information
qubis741 authored May 27, 2022
2 parents 6e9e6d4 + a643a8a commit 22d4ad7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/components/emailSelector/EmailSelector.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React, { useCallback, useMemo, useRef, useState } from 'react';
import cx from 'classnames';

import ValidationText from '../validationText';
import theme from './theme.css';
import React, { useCallback, useMemo, useRef, useState } from 'react';
import Box from '../box';
import { BoxProps } from '../box/Box';
import ValidationText from '../validationText';
import EmailSuggestion from './EmailSuggestion';
import Label from './Label';
import { excludeSuggestions } from './utils';
import theme from './theme.css';
import { Suggestion, Suggestions } from './types';
import EmailSuggestion from './EmailSuggestion';
import { excludeSuggestions } from './utils';

interface EmailSelectorProps {
interface EmailSelectorProps extends Omit<BoxProps, 'ref' | 'onBlur' | 'onFocus'> {
error?: boolean | string;
warning?: boolean | string;
defaultSelection?: Suggestion[];
Expand Down

0 comments on commit 22d4ad7

Please sign in to comment.