-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- ui@0.76.17
- ui@0.76.16
- ui@0.76.15
- ui@0.76.14
- ui@0.76.13
- ui@0.76.12
- ui@0.76.11
- ui@0.76.10
- ui@0.76.9
- ui@0.76.8
- ui@0.76.7
- ui@0.76.6
- ui@0.76.5
- ui@0.76.4
- ui@0.76.3
- ui@0.76.2
- ui@0.76.1
- ui@0.76.0
- ui@0.75.44
- ui@0.75.43
- ui@0.75.42
- ui@0.75.41
- ui@0.75.40
- ui@0.75.39
- ui@0.75.38
- ui@0.75.37
- ui@0.75.36
- ui@0.75.35
- ui@0.75.34
- ui@0.75.33
- ui@0.75.32
- ui@0.75.31
- ui@0.75.30
- ui@0.75.29
- ui@0.75.28
- ui@0.75.27
- ui@0.75.26
- ui@0.75.25
- ui@0.75.24
- ui@0.75.23
- ui@0.75.22
- ui@0.75.21
- ui@0.75.20
- ui@0.75.19
- ui@0.75.18
- ui@0.75.17
- ui@0.75.16
- ui@0.75.15
- ui@0.75.14
- ui@0.75.13
- ui@0.75.12
- ui@0.75.11
- ui@0.75.10
- ui@0.75.9
- ui@0.75.8
- ui@0.75.7
- ui@0.75.6
- ui@0.75.5
- ui@0.75.4
- ui@0.75.3
- ui@0.75.2
- ui@0.75.1
- ui@0.75.0
- ui@0.74.102
- ui@0.74.101
- ui@0.74.100
- ui@0.74.99
- ui@0.74.98
- ui@0.74.97
- ui@0.74.96
- ui@0.74.95
- ui@0.74.94
- ui@0.74.93
- ui@0.74.92
- ui@0.74.91
- ui@0.74.90
- ui@0.74.80
- ui@0.74.79
- ui@0.74.78
- ui@0.74.77
- ui@0.74.76
- ui@0.74.75
- ui@0.74.74
- ui@0.74.73
- ui@0.74.72
- ui@0.74.71
- ui@0.74.70
- ui@0.74.69
- ui@0.74.68
- ui@0.74.67
- ui@0.74.66
- ui@0.74.65
- ui@0.74.64
- ui@0.74.63
- ui@0.74.62
- ui@0.74.61
- ui@0.74.60
- ui@0.74.59
- ui@0.74.58
- ui@0.74.57
- ui@0.74.56
- ui@0.74.55
- ui@0.74.54
- ui@0.74.53
- ui@0.74.52
- ui@0.74.51
- ui@0.74.50
- ui@0.74.49
- ui@0.74.48
- ui@0.74.47
- ui@0.74.46
- ui@0.74.45
- ui@0.74.44
- ui@0.74.43
- ui@0.74.42
- ui@0.74.41
- ui@0.74.40
- ui@0.74.39
- ui@0.74.38
- ui@0.74.37
- ui@0.74.36
- ui@0.74.35
- ui@0.74.34
- ui@0.74.33
- ui@0.74.32
- ui@0.74.31
- ui@0.74.30
- ui@0.74.29
- ui@0.74.28
- ui@0.74.27
- ui@0.74.26
- ui@0.74.25
- ui@0.74.24
- ui@0.74.23
- ui@0.74.22
- ui@0.74.21
- ui@0.74.20
- ui@0.74.19
- ui@0.74.18
- ui@0.74.17
- ui@0.74.16
- ui@0.74.15
- ui@0.74.14
- ui@0.74.13
- ui@0.74.12
- ui@0.74.11
- ui@0.74.10
- ui@0.74.9
- ui@0.74.8
- ui@0.74.7
- ui@0.74.6
- ui@0.74.5
- ui@0.74.4
- ui@0.74.3
- ui@0.74.2
- ui@0.74.1
- ui@0.74.0
- ui@0.73.40
- ui@0.73.39
- ui@0.73.38
- ui@0.73.37
- ui@0.73.36
- ui@0.73.35
- ui@0.73.34
- ui@0.73.33
- ui@0.73.32
- ui@0.73.31
- ui@0.73.30
- ui@0.73.29
- ui@0.73.28
- ui@0.73.27
- ui@0.73.26
- ui@0.73.25
- ui@0.73.24
- ui@0.73.23
- ui@0.73.22
- ui@0.73.21
- ui@0.73.20
- ui@0.73.19
- ui@0.73.18
- ui@0.73.17
- ui@0.73.16
- ui@0.73.15
- ui@0.73.14
- ui@0.73.13
- ui@0.73.12
- ui@0.73.11
- ui@0.73.10
- ui@0.73.9
- ui@0.73.8
- ui@0.73.7
- ui@0.73.6
- ui@0.73.5
- ui@0.73.4
- ui@0.73.3
- ui@0.73.2
- ui@0.73.1
- ui@0.73.0
- ui@0.72.33
- ui@0.72.32
- ui@0.72.31
- ui@0.72.30
- ui@0.72.29
- ui@0.72.28
- ui@0.72.27
- ui@0.72.26
- ui@0.72.25
- ui@0.72.24
- ui@0.72.23
- ui@0.72.22
- ui@0.72.21
- ui@0.72.20
- ui@0.72.19
- ui@0.72.18
- ui@0.72.17
- ui@0.72.16
- ui@0.72.15
- ui@0.72.14
- ui@0.72.13
- ui@0.72.12
- ui@0.72.11
- ui@0.72.10
- ui@0.72.9
- ui@0.72.8
- ui@0.72.7
- ui@0.72.6
- ui@0.72.5
- ui@0.72.4
- ui@0.72.3
- ui@0.72.2
- ui@0.72.1
- ui@0.72.0
- ui@0.71.25
- ui@0.71.24
- ui@0.71.23
- ui@0.71.22
- ui@0.71.21
- ui@0.71.20
- ui@0.71.19
- ui@0.71.18
- ui@0.71.17
- ui@0.71.16
- ui@0.71.15
- ui@0.71.14
- ui@0.71.13
- ui@0.71.12
- ui@0.71.11
- ui@0.71.10
- ui@0.71.9
- ui@0.71.8
- ui@0.71.7
- ui@0.71.6
- ui@0.71.5
- ui@0.71.4
- ui@0.71.3
- ui@0.71.2
- ui@0.71.1
- ui@0.71.0
- ui@0.70.42
- ui@0.70.41
- ui@0.70.40
- ui@0.70.39
- ui@0.70.38
- ui@0.70.37
- ui@0.70.36
- ui@0.70.35
- ui@0.70.34
- ui@0.70.33
- ui@0.70.32
- ui@0.69.32
- ui@0.69.31
- ui@0.69.30
- ui@0.69.29
- ui@0.69.28
- ui@0.69.27
- ui@0.69.26
- ui@0.69.25
- ui@0.69.24
- ui@0.69.23
- ui@0.69.22
- ui@0.69.21
- ui@0.69.20
- ui@0.69.19
- ui@0.69.18
- ui@0.69.17
- ui@0.69.16
- ui@0.69.15
- ui@0.69.14
- ui@0.69.13
- ui@0.69.12
- ui@0.69.11
- ui@0.69.10
- ui@0.69.9
- ui@0.69.8
- ui@0.69.7
- ui@0.69.6
- ui@0.69.5
- ui@0.69.4
- ui@0.69.3
- ui@0.69.2
- ui@0.69.1
- ui@0.69.0
- ui@0.68.8
- ui@0.68.7
- ui@0.68.6
- ui@0.68.5
- ui@0.68.4
- ui@0.68.3
- ui@0.68.2
- ui@0.68.1
- ui@0.68.0
- ui@0.67.3
- ui@0.67.2
- ui@0.67.1
- ui@0.67.0
- ui@0.66.6
- ui@0.66.5
- ui@0.66.4
- ui@0.66.3
- ui@0.66.2
- ui@0.66.1
- ui@0.66.0
- template-resolver@0.8.2
- template-resolver@0.8.1
- template-resolver@0.8.0
- template-resolver@0.7.6
- template-resolver@0.7.5
- template-resolver@0.7.4
- template-resolver@0.7.3
- template-resolver@0.7.2
- template-resolver@0.7.1
- template-resolver@0.7.0
- generator-cli@0.0.18
- generator-cli@0.0.17
- generator-cli@0.0.16
- generator-cli@0.0.15
- generator-cli@0.0.14
- generator-cli@0.0.13
- generator-cli@0.0.12
- generator-cli@0.0.11
- generator-cli@0.0.10
- fern-bot@0.0.11
- fern-bot@0.0.10
- fern-bot@0.0.9
- fern-bot@0.0.8
- fern-bot@0.0.7
- fern-bot@0.0.6
- fern-bot@0.0.5
- fern-bot@0.0.4
- fern-bot@0.0.3
- fern-bot@0.0.2
- fern-bot@0.0.1
- fern-bot@0.0.0
- fdr@0.130.4
- fdr@0.130.3
- fdr@0.130.2
- fdr@0.130.1
- fdr@0.130.0
- fdr@0.129.6
- fdr@0.129.5
- fdr@0.129.4
- fdr@0.129.3
- fdr@0.129.2
- fdr@0.129.1
- fdr@0.129.0
- fdr@0.128.0
- fdr@0.127.5
- fdr@0.127.4
- fdr@0.127.3
- fdr@0.127.2
- fdr@0.127.1
- fdr@0.127.0
- fdr@0.126.2
- fdr@0.126.1
- fdr@0.126.0
- fdr@0.125.0
- fdr@0.124.2
- fdr@0.124.1
- fdr@0.124.0
- fdr@0.123.0
- fdr@0.122.1
- fdr@0.122.0
- fdr@0.121.2
- fdr@0.121.1
- fdr@0.121.0
- fdr@0.120.1
- fdr@0.120.0
- fdr@0.119.0
- fdr@0.118.0
- fdr@0.117.0
- fdr@0.116.5
- fdr@0.116.4
- fdr@0.116.3
- fdr@0.116.2
- fdr@0.116.1
- fdr@0.116.0
- fdr@0.115.0
- fdr@0.114.0
- fdr@0.113.0
- fdr@0.112.0
- fdr@0.111.0
- fdr@0.110.0
- fdr@0.109.0
- fdr@0.108.0
- fdr@0.107.0
- fdr@0.106.0
- fdr@0.105.0
- fdr@0.104.1
- fdr@0.104.0
- fdr@0.103.0
- fdr@0.102.0
- fdr@0.101.0
- fdr@0.100.0
- fdr@0.99.0
- fdr@0.98.20
- fdr@0.98.19
- fdr@0.98.18
- fdr@0.98.17
- fdr@0.98.16
- fdr@0.98.15
- fdr@0.98.14
- fdr@0.98.13
- fdr@0.98.12
- fdr@0.98.11
- fdr@0.98.10
- fdr@0.98.9
- fdr@0.98.8
- fdr@0.98.7
- fdr@0.98.6
- fdr@0.98.5
- fdr@0.98.4
- fdr@0.98.3
- fdr@0.98.2
- fdr@0.98.1
- fdr@0.98.0
- fdr@0.97.1
- fdr@0.97.0
- fdr@0.96.3
- fdr@0.96.2
- fdr@0.96.1
- fdr@0.96.0
- fdr@0.95.1
- fdr@0.95.0
- fdr@0.94.3
- fdr@0.94.2
- fdr@0.93.2
- fdr@0.93.1
- fdr@0.93.0
- fdr@0.92.0
- fdr@0.91.1
- fdr@0.91.0
- fdr@0.90.0
- fdr@0.89.0
- fdr@0.88.0
- fdr@0.87.0
- fdr@0.86.0
- fdr@0.85.1
- fdr@0.85.0
- fdr@0.84.0
- fdr@0.83.1
- fdr@0.83.0
- fdr@0.82.1
- fdr@0.82.0
- fdr@0.81.1
- fdr@0.80.1
- fdr@0.79.1
- fdr@0.79.0
- fdr@0.78.1
- fdr@0.78.0
- fdr@0.77.0
- fdr@0.76.0
- fdr@0.75.0
- fdr@0.74.7
- fdr@0.74.6
- fdr@0.74.5
- fdr@0.74.4
- fdr@0.74.3
- fdr@0.74.2
- fdr@0.74.1
- fdr@0.74.0
- fdr@0.73.2
- fdr@0.73.1
- fdr@0.73.0
- fdr@0.72.0
- fdr@0.71.0
- fdr@0.70.0
- fdr@0.62.1
- fdr@0.62.0
- fdr@0.61.0
- dashboard@0.0.0
- 0.65.171
- 0.65.170
- 0.65.169
- 0.65.168
- 0.65.167
- 0.65.166
- 0.65.165
- 0.65.164
- 0.65.163
- 0.65.162
- 0.65.161
- 0.65.160
- 0.65.150
- 0.65.149
- 0.65.148
- 0.65.147
- 0.65.146
- 0.65.145
- 0.65.144
- 0.65.143
- 0.65.142
- 0.65.141
- 0.65.140
- 0.65.139
- 0.65.138
- 0.65.137
- 0.65.136
- 0.65.135
- 0.65.134
- 0.65.133
- 0.65.132
- 0.65.131
- 0.65.130
- 0.65.129
- 0.65.128
- 0.65.127
- 0.65.126
- 0.65.125
- 0.65.124
- 0.65.123
- 0.65.122
- 0.65.121
- 0.65.120
- 0.65.119
- 0.65.118
- 0.65.117
- 0.65.116
- 0.65.115
- 0.65.114
- 0.65.113
- 0.65.112
- 0.65.111
- 0.65.110
- 0.65.109
- 0.65.108
- 0.65.107
- 0.65.106
- 0.65.105
- 0.65.104
- 0.65.103
- 0.65.102
- 0.65.101
- 0.65.100
- 0.65.99
- 0.65.98
- 0.65.97
- 0.65.96
- 0.65.95
- 0.65.94
- 0.65.93
- 0.65.92
- 0.65.91
- 0.65.90
- 0.65.89
- 0.65.88
- 0.65.87
- 0.65.86
- 0.65.85
- 0.65.84
- 0.65.83
- 0.65.82
- 0.65.81
- 0.65.80
- 0.65.79
- 0.65.78
- 0.65.77
- 0.65.76
- 0.65.75
- 0.65.74
- 0.65.73
- 0.65.72
- 0.65.71
- 0.65.70
- 0.65.69
- 0.65.68
- 0.65.67
- 0.65.66
- 0.65.65
- 0.65.64
- 0.65.63
- 0.65.62
- 0.65.61
- 0.65.60
- 0.65.59
- 0.65.58
- 0.65.57
- 0.65.56
- 0.65.55
- 0.65.54
- 0.65.53
- 0.65.52
- 0.65.51
- 0.65.50
- 0.65.49
- 0.65.48
- 0.65.47
- 0.65.46
- 0.65.45
- 0.65.44
- 0.65.43
- 0.65.42
- 0.65.41
- 0.65.40
- 0.65.39
- 0.65.38
- 0.65.37
- 0.65.36
- 0.65.35
- 0.65.34
- 0.65.33
- 0.65.32
- 0.65.31
- 0.65.30
- 0.65.29
- 0.65.28
- 0.65.27
- 0.65.26
- 0.65.25
- 0.65.24
- 0.65.23
- 0.65.22
- 0.65.21
- 0.65.20
- 0.65.19
- 0.65.18
- 0.65.17
- 0.65.16
- 0.65.15
- 0.65.14
- 0.65.13
- 0.65.12
- 0.65.11
- 0.65.10
- 0.65.9
- 0.65.8
- 0.65.7
- 0.65.6
- 0.65.5
- 0.65.4
- 0.65.3
- 0.65.2
- 0.65.1
- 0.65.0
- 0.64.0
- 0.63.4
- 0.63.3
- 0.63.2
- 0.63.1
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.98
- 0.60.97
- 0.60.96
- 0.60.95
- 0.60.94
- 0.60.93
- 0.60.92
- 0.60.91
- 0.60.90
- 0.60.89
- 0.60.88
- 0.60.87
- 0.60.86
- 0.60.85
- 0.60.84
- 0.60.83
- 0.60.82
- 0.60.81
- 0.60.80
- 0.60.79
- 0.60.78
- 0.60.77
- 0.60.76
- 0.60.75
- 0.60.74
- 0.60.73
- 0.60.72
- 0.60.71
1 parent
9bf4502
commit 5f0b5ad
Showing
4 changed files
with
195 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
import classNames from "classnames"; | ||
import { ButtonHTMLAttributes, DetailedHTMLProps, FC, ReactNode } from "react"; | ||
import { RemoteFontAwesomeIcon } from "../commons/FontAwesomeIcon"; | ||
|
||
interface FernButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> { | ||
icon?: string | ReactNode; | ||
rightIcon?: string | ReactNode; | ||
minimal?: boolean; | ||
intent?: "none" | "primary" | "success" | "danger"; | ||
small?: boolean; | ||
mono?: boolean; | ||
active?: boolean; | ||
full?: boolean; | ||
disabled?: boolean; | ||
} | ||
export const FernButton: FC<FernButtonProps> = ({ | ||
icon: leftIcon, | ||
rightIcon, | ||
className, | ||
children, | ||
minimal = false, | ||
intent = "none", | ||
small = false, | ||
mono = false, | ||
active = false, | ||
full = false, | ||
disabled = false, | ||
...props | ||
}) => { | ||
function renderIcon(icon: string | ReactNode | undefined) { | ||
if (typeof icon === "string") { | ||
return ( | ||
<RemoteFontAwesomeIcon | ||
icon={icon} | ||
className={classNames("h-4 w-4", { | ||
"bg-accent-primary dark:bg-accent-primary-dark": intent === "primary", | ||
"bg-text-primary-light/60 dark:bg-text-primary-dark/60": intent === "none", | ||
"bg-intent-success-light dark:bg-intent-success-dark": intent === "success", | ||
"bg-intent-danger-light dark:bg-intent-danger-dark": intent === "danger", | ||
})} | ||
/> | ||
); | ||
} else { | ||
return icon; | ||
} | ||
} | ||
|
||
return ( | ||
<button | ||
{...props} | ||
className={classNames(className, "fern-button transition-shadow text-center align-middle", { | ||
"rounded-md": small && !className?.includes("rounded"), | ||
"rounded-lg": !small && !className?.includes("rounded"), | ||
"px-2 py-1 text-xs h-6": small, | ||
"px-3.5 py-1.5 text-sm h-9": !small, | ||
"border ring-0 hover:ring-2": !minimal, | ||
"border-border-primary dark:border-border-primary-dark ring-border-primary/10 dark:ring-border-primary-dark/10": | ||
!minimal && intent === "primary", | ||
"ring-text-primary dark:ring-text-primary-dark": !minimal && intent === "none", | ||
"ring-intent-success-light dark:ring-intent-success-dark": !minimal && intent === "success", | ||
"ring-intent-danger-light dark:ring-intent-danger-dark": !minimal && intent === "danger", | ||
"hover:bg-tag-primary text-accent-primary dark:text-accent-primary-dark": intent === "primary", | ||
"hover:bg-tag-primary bg-transparent dark:bg-transparent-dark text-text-primary-light/60 dark:text-text-primary-dark/60": | ||
intent === "none", | ||
"hover:bg-tag-success text-intent-success-light dark:text-intent-success-dark": intent === "success", | ||
"hover:bg-tag-danger text-intent-danger-light dark:text-intent-danger-dark": intent === "danger", | ||
"bg-tag-primary": intent === "primary" && active, | ||
"bg-tag-success": intent === "success" && active, | ||
"bg-tag-danger": intent === "danger" && active, | ||
"w-full": full, | ||
})} | ||
onClick={ | ||
props.onClick != null | ||
? (e) => { | ||
if (disabled) { | ||
e.preventDefault(); | ||
e.stopPropagation(); | ||
} else { | ||
props.onClick?.(e); | ||
} | ||
} | ||
: undefined | ||
} | ||
> | ||
<span | ||
className={classNames("inline-flex items-center", { | ||
"gap-1": small, | ||
"h-[14px]": small && !minimal, | ||
"h-4": small && minimal, | ||
"gap-1.5": !small, | ||
"h-[22px]": !small && !minimal, | ||
"h-6": !small && minimal, | ||
})} | ||
> | ||
{renderIcon(leftIcon)} | ||
<span | ||
className={classNames({ | ||
"font-mono tracking-tight": mono, | ||
})} | ||
> | ||
{children} | ||
</span> | ||
{renderIcon(rightIcon)} | ||
</span> | ||
</button> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
import { FC, useRef, useState } from "react"; | ||
import { capturePosthogEvent } from "../analytics/posthog"; | ||
import { FernButton } from "../components/FernButton"; | ||
import { FernCollapse } from "../components/FernCollapse"; | ||
|
||
interface FeedbackProps {} | ||
|
||
export const Feedback: FC<FeedbackProps> = () => { | ||
const [sent, setSent] = useState(false); | ||
const [feedback, setFeedback] = useState<"yes" | "no" | null>(null); | ||
const [showFeedbackInput, setShowFeedbackInput] = useState(false); | ||
const textareaRef = useRef<HTMLTextAreaElement>(null); | ||
const handleYes = () => { | ||
setFeedback("yes"); | ||
setShowFeedbackInput(true); | ||
textareaRef.current?.focus(); | ||
capturePosthogEvent("feedback_voted", { | ||
satisfied: true, | ||
}); | ||
}; | ||
const handleNo = () => { | ||
setFeedback("no"); | ||
setShowFeedbackInput(true); | ||
textareaRef.current?.focus(); | ||
capturePosthogEvent("feedback_voted", { | ||
satisfied: false, | ||
}); | ||
}; | ||
const handleSubmitFeedback = () => { | ||
capturePosthogEvent("feedback_submitted", { | ||
satisfied: feedback === "yes" ? true : false, | ||
message: textareaRef.current?.value, | ||
}); | ||
setSent(true); | ||
}; | ||
return ( | ||
<div className="border-border-default-light dark:border-border-default-dark group my-12 w-fit rounded-lg border"> | ||
{!sent ? ( | ||
<div className="flex items-center gap-4 px-4 py-2"> | ||
<span className="t-muted text-sm">Did this page help you?</span> | ||
<div className="flex items-center"> | ||
<FernButton | ||
icon="regular thumbs-up" | ||
minimal | ||
intent={feedback === "yes" ? "success" : "none"} | ||
onClick={handleYes} | ||
active={feedback === "yes"} | ||
> | ||
Yes | ||
</FernButton> | ||
<FernButton | ||
icon="regular thumbs-down" | ||
minimal={true} | ||
intent={feedback === "no" ? "danger" : "none"} | ||
onClick={handleNo} | ||
active={feedback === "no"} | ||
> | ||
No | ||
</FernButton> | ||
</div> | ||
</div> | ||
) : ( | ||
<div className="px-4 py-2"> | ||
<div className="t-muted text-sm">Thank you for your feedback!</div> | ||
</div> | ||
)} | ||
{!sent && ( | ||
<FernCollapse isOpen={showFeedbackInput}> | ||
<div className="px-4 pb-4"> | ||
<textarea | ||
ref={textareaRef} | ||
autoFocus={true} | ||
className="border-border-default-light dark:border-border-default-dark focus-visible:ring-tag-primary focus-visible:dark:ring-tag-primary-dark focus-visible:border-accent-primary focus-visible:dark:border-accent-primary-dark w-full rounded-md border bg-white p-2 text-sm focus:outline-none focus-visible:ring-2 dark:bg-white/10" | ||
/> | ||
<FernButton full={true} intent="primary" className="rounded-md" onClick={handleSubmitFeedback}> | ||
Send feedback | ||
</FernButton> | ||
</div> | ||
</FernCollapse> | ||
)} | ||
</div> | ||
); | ||
}; |