mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-24 13:53:50 +00:00

* feat: clb search support username, memberName, contacts * feat: popup org names * feat: update team member table * feat: restore the member * feat: search user in team member table * feat: bind contact * feat: export members * feat: org tab could delete member * feat: org table search * feat: team notification account bind * feat: permission tab search * fix: wecom sso * chore(init): copy notificationAccount to user.contact * chore: adjust * fix: ts error * fix: useConfirm iconColor customization * pref: fe * fix: style * fix: fix team member manage * pref: enlarge team member pagesize * pref: initv4822 * fix: pageSize * pref: initscritpt
17 lines
515 B
TypeScript
17 lines
515 B
TypeScript
import React, { useState } from 'react';
|
|
import { Input, InputProps, InputGroup, InputLeftElement } from '@chakra-ui/react';
|
|
import MyIcon from '../../Icon';
|
|
|
|
const SearchInput = (props: InputProps) => {
|
|
return (
|
|
<InputGroup alignItems="center" size={'sm'}>
|
|
<InputLeftElement>
|
|
<MyIcon name="common/searchLight" w="16px" color={'myGray.500'} />
|
|
</InputLeftElement>
|
|
<Input fontSize="sm" bg={'myGray.50'} {...props} />
|
|
</InputGroup>
|
|
);
|
|
};
|
|
|
|
export default React.memo(SearchInput);
|