Skip to content

Commit

Permalink
Use smaller left and right icons in Timepicker (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
heisand authored Aug 20, 2023
1 parent 81aed3c commit afd0710
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/spor-react/src/datepicker/TimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { BoxProps, useFormControlContext } from "@chakra-ui/react";
import { CalendarDateTime } from "@internationalized/date";
import { TimeValue } from "@react-types/datepicker";
import {
DropdownLeftFill24Icon,
DropdownRightFill24Icon,
DropdownLeftFill18Icon,
DropdownRightFill18Icon,
} from "@vygruppen/spor-icon-react";
import React from "react";
import { useTimeFieldState } from "react-stately";
Expand Down Expand Up @@ -140,7 +140,7 @@ export const TimePicker = ({
borderRadius="xs"
aria-label={backwardsLabel}
title={backwardsLabel}
icon={<DropdownLeftFill24Icon />}
icon={<DropdownLeftFill18Icon />}
onClick={handleBackwardsClick}
isDisabled={isDisabled}
style={isDisabled ? { backgroundColor: "transparent" } : {}}
Expand All @@ -152,7 +152,7 @@ export const TimePicker = ({
borderRadius="xs"
aria-label={forwardsLabel}
title={forwardsLabel}
icon={<DropdownRightFill24Icon />}
icon={<DropdownRightFill18Icon />}
onClick={handleForwardClick}
isDisabled={isDisabled}
style={isDisabled ? { backgroundColor: "transparent" } : {}}
Expand Down

0 comments on commit afd0710

Please sign in to comment.