diff --git a/apps/portal/src/components/questions/VotingButtons.tsx b/apps/portal/src/components/questions/VotingButtons.tsx index 81a6d7b1..74b9193e 100644 --- a/apps/portal/src/components/questions/VotingButtons.tsx +++ b/apps/portal/src/components/questions/VotingButtons.tsx @@ -1,17 +1,23 @@ import { ChevronDownIcon, ChevronUpIcon } from '@heroicons/react/24/outline'; +import type { ButtonSize } from '@tih/ui'; import { Button } from '@tih/ui'; export type VotingButtonsProps = { + size?: ButtonSize; upvoteCount: number; }; -export default function VotingButtons({ upvoteCount }: VotingButtonsProps) { +export default function VotingButtons({ + upvoteCount, + size = 'md', +}: VotingButtonsProps) { return (