several changes
This commit is contained in:
@@ -4,17 +4,17 @@ import { CaretRightIcon, Icon } from "@phosphor-icons/react";
|
||||
interface ListButtonProps {
|
||||
label: string;
|
||||
Icon: Icon;
|
||||
handleClick: () => void;
|
||||
onClick: () => void;
|
||||
}
|
||||
|
||||
const ListButton = ({ label, handleClick, Icon }: ListButtonProps) => {
|
||||
const ListButton = ({ label, onClick, Icon }: ListButtonProps) => {
|
||||
return (
|
||||
<>
|
||||
<UnstyledButton
|
||||
w='100%'
|
||||
p='md'
|
||||
component={'button'}
|
||||
onClick={handleClick}
|
||||
onClick={onClick}
|
||||
>
|
||||
<Group>
|
||||
<Icon weight='bold' size={20} />
|
||||
|
||||
Reference in New Issue
Block a user