Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Aug 29, 2024
1 parent db50845 commit c5440d2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ const tooltipContent: CaseTooltipContentProps = {
};

const tooltipProps: CaseTooltipProps = {
children: TestSpan,
children: <TestSpan />,
loading: false,
content: tooltipContent,
};

const longTitle = `Lorem Ipsum is simply dummy text of the printing and typesetting industry.
const longTitle = `Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry standard dummy text ever since the 1500s!! Lorem!!!`;

const longDescription = `Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer
took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries,
const longDescription = `Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer
took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries,
but also the leap into electronic typesetting, remaining essentially unchanged.`;

const Template = (args: CaseTooltipProps) => (
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-cases-components/src/tooltip/tooltip.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const tooltipContent: CaseTooltipContentProps = {
};

const tooltipProps: CaseTooltipProps = {
children: TestSpan,
children: <TestSpan />,
loading: false,
content: tooltipContent,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ interface Props {
children?: React.ReactNode | (({ isCollapsed }: { isCollapsed: boolean }) => React.ReactNode);
}

const NavigationWrapper: FC<Props & Partial<EuiCollapsibleNavBetaProps>> = (props) => {
const NavigationWrapper: FC<Props & Omit<Partial<EuiCollapsibleNavBetaProps>, 'children'>> = (
props
) => {
const [isCollapsed, setIsCollapsed] = useState(false);

const onCollapseToggle = (nextIsCollapsed: boolean) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/shared-ux/router/impl/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type RouterElementChildren = Array<
path: string;
render: Function;
children: RouterElementChildren;
component: Function;
component: React.ComponentType;
},
string | React.JSXElementConstructor<unknown>
>
Expand Down

0 comments on commit c5440d2

Please sign in to comment.