17 lines
494 B
TypeScript
17 lines
494 B
TypeScript
import { Button, type ButtonProps, ButtonIcon } from "~/components/ui/button";
|
|
import { AddFeedback } from "../icons/Icons";
|
|
|
|
export type HumanFeedbackButtonProps = Omit<
|
|
ButtonProps,
|
|
"children" | "variant" | "size" | "slotLeft" | "slotRight" | "asChild"
|
|
>;
|
|
|
|
export function HumanFeedbackButton(props: HumanFeedbackButtonProps) {
|
|
return (
|
|
<Button variant="outline" size="sm" {...props}>
|
|
<ButtonIcon as={AddFeedback} variant="tertiary" />
|
|
Add feedback
|
|
</Button>
|
|
);
|
|
}
|