We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7da726f commit 3deae80Copy full SHA for 3deae80
src/index.js
@@ -11,7 +11,7 @@ import {
11
Flex,
12
Heading
13
} from '@chakra-ui/react'
14
-import { ChatIcon } from '@chakra-ui/icons'
+import { ChatIcon, CloseIcon } from '@chakra-ui/icons'
15
16
import styles from './styles.module.css'
17
import Landing from './components/Landing/Landing'
@@ -38,7 +38,7 @@ export const ChmodChatComponent = ({ chatProps }) => {
38
return (
39
<ChakraProvider>
40
<Circle className={styles.chatIcon} onClick={onToggle}>
41
- <ChatIcon />
+ {!isOpen ? <ChatIcon color='white' /> : <CloseIcon color='white' />}
42
</Circle>
43
{isOpen && (
44
<Fade in={isOpen}>
0 commit comments