Skip to content

Commit

Permalink
Removed optional feat from centered, classname, and style
Browse files Browse the repository at this point in the history
Partially Resolves jaegertracing#2596
- Removed optional availability from multiple fields

Signed-off-by: Abhishek <[email protected]>
  • Loading branch information
its-me-abhishek committed Jan 21, 2025
1 parent 1dfe627 commit c679e86
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/jaeger-ui/src/components/common/LoadingIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@ import './LoadingIndicator.css';
export default function LoadingIndicator({
centered = false,
vcentered,
className = undefined,
className = '',
small = false,
style,
...rest
}: {
centered?: boolean;
centered: boolean;
vcentered?: boolean;
className?: string;
small?: boolean;
className: string;
small: boolean;
style?: React.CSSProperties;
}) {
const cls = `
LoadingIndicator
${centered ? 'is-centered' : ''}
${vcentered ? 'is-vcentered' : ''}
${small ? 'is-small' : ''}
${className || ''}
${className}
`;

return <LuLoader2 className={cls}{...rest} style={style} />;
Expand Down

0 comments on commit c679e86

Please sign in to comment.