Refactor buttons (#1257)
* Refactor buttons * Complete components creation * Complete refactoring * fix lint * Complete button work
This commit is contained in:
@ -10,8 +10,7 @@ import {
|
||||
PersonForSelect,
|
||||
} from '@/people/components/PeoplePicker';
|
||||
import { GET_PEOPLE } from '@/people/graphql/queries/getPeople';
|
||||
import { ButtonSize } from '@/ui/button/components/Button';
|
||||
import { IconButton } from '@/ui/button/components/IconButton';
|
||||
import { LightIconButton } from '@/ui/button/components/LightIconButton';
|
||||
import { RelationPickerHotkeyScope } from '@/ui/input/relation-picker/types/RelationPickerHotkeyScope';
|
||||
import { TextInput } from '@/ui/input/text/components/TextInput';
|
||||
import { usePreviousHotkeyScope } from '@/ui/utilities/hotkey/hooks/usePreviousHotkeyScope';
|
||||
@ -123,11 +122,11 @@ export function AddPersonToCompany({
|
||||
<RecoilScope>
|
||||
<StyledContainer>
|
||||
<div ref={refs.setReference}>
|
||||
<IconButton
|
||||
icon={<IconPlus size={14} />}
|
||||
<LightIconButton
|
||||
icon={<IconPlus />}
|
||||
onClick={handleOpenPicker}
|
||||
size={ButtonSize.Small}
|
||||
variant={'transparent'}
|
||||
size="small"
|
||||
accent="tertiary"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user