Feedback Modal
FeedbackSend-feedback modal with category selector and optional screenshot attachment.
Feedback ModalFeedback · Web
Loading Storybook preview…
Installation
bun add @otfdashkit/ui
Usage
Import Feedback Modal from @otfdashkit/ui.
Code
// Feedback Modal — Send-feedback modal with category selector and optional screenshot attachment.
//
// Install:
// bun add @otfdashkit/ui
import { FeedbackModal } from '@otfdashkit/ui'
export function Example() {
return (
<FeedbackModal>
{/* your content */}
</FeedbackModal>
)
}Props
Props declared in the FeedbackModal source. Inherited HTML attributes are not listed.
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | ||
| onSubmit | (data: { reaction: string; text: string; }) => void |