Skip to content

Commit

Permalink
chore(html): resolve action-sheet eslint type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
epetrow committed Dec 4, 2024
1 parent 47f1231 commit fdf723f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/html/src/action-sheet/action-sheet.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ const states = [];
const options = {};

export type KendoActionSheetProps = {
children: React.JSX.Element | React.JSX.Element[],
children?: React.JSX.Element | React.JSX.Element[];
title?: string;
header?: typeof ActionSheetHeader;
footer?: string | typeof ActionSheetFooter;
header?: React.JSX.Element;
footer?: string | React.JSX.Element;
actions?: string[];
fullscreen?: boolean;
adaptive?: boolean;
Expand Down Expand Up @@ -68,7 +68,7 @@ export const ActionSheet = (
return true;
}
})
: children.type === ActionSheetItems
: children?.type === ActionSheetItems
? children
: <></>;

Expand Down

0 comments on commit fdf723f

Please sign in to comment.