Skip to content

Commit

Permalink
feat: Added some fontWeight to the span
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayur committed Dec 20, 2024
1 parent 0f5bb3f commit 4f2d267
Showing 1 changed file with 17 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,21 +213,23 @@ export function SchedulerFrequency({ autoImportFrequency, control }: SchedulerFr
value="onDay"
label={
<>
<span>On day</span>
<Controller
name="yearlyDayNumber"
control={control}
defaultValue={1}
render={({ field: dayField }) => (
<NumberInput
{...dayField}
min={1}
max={31}
style={{ width: 80 }}
onChange={(val) => dayField.onChange(val)}
/>
)}
/>
<Group align="center">
<span style={{ color: colors.StrokeLight, fontWeight: 400 }}>On day</span>
<Controller
name="yearlyDayNumber"
control={control}
defaultValue={1}
render={({ field: dayField }) => (
<NumberInput
{...dayField}
min={1}
max={31}
style={{ width: 80 }}
onChange={(val) => dayField.onChange(val)}
/>
)}
/>
</Group>
</>
}
/>
Expand Down

0 comments on commit 4f2d267

Please sign in to comment.