Skip to content

Commit e83411e

Browse files
committed
chore: fixed typeErrors in select
1 parent 07290c1 commit e83411e

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/components/ui/select/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ const SelectIcon = React.forwardRef<
229229
<UISelect.Icon
230230
className={selectIconStyle({
231231
class: className,
232-
size,
232+
size: size as any,
233233
parentVariants: {
234234
size: parentSize,
235235
},

src/components/ui/select/select-actionsheet.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -351,11 +351,11 @@ const ActionsheetItemText = React.forwardRef<
351351
<UIActionsheet.ItemText
352352
className={actionsheetItemTextStyle({
353353
class: className,
354-
isTruncated,
355-
bold,
356-
underline,
357-
strikeThrough,
358-
size,
354+
isTruncated: isTruncated as boolean,
355+
bold: bold as boolean,
356+
underline: underline as boolean,
357+
strikeThrough: strikeThrough as boolean,
358+
size: size as any,
359359
})}
360360
ref={ref}
361361
{...props}
@@ -499,14 +499,14 @@ const ActionsheetSectionHeaderText = React.forwardRef<
499499
<UIActionsheet.SectionHeaderText
500500
className={actionsheetSectionHeaderTextStyle({
501501
class: className,
502-
isTruncated,
503-
bold,
504-
underline,
505-
strikeThrough,
506-
size,
507-
sub,
508-
italic,
509-
highlight,
502+
isTruncated: isTruncated as boolean,
503+
bold: bold as boolean,
504+
underline: underline as boolean,
505+
strikeThrough: strikeThrough as boolean,
506+
size: size as any,
507+
sub: sub as boolean,
508+
italic: italic as boolean,
509+
highlight: highlight as boolean,
510510
})}
511511
ref={ref}
512512
{...props}

0 commit comments

Comments
 (0)