Skip to content

Commit f890da9

Browse files
authored
Merge branch 'master' into feat/all-columns-tables-sortable-filterable
2 parents 66fb8b3 + fafc55d commit f890da9

8 files changed

Lines changed: 62 additions & 0 deletions

File tree

src/base/NoSsr/NoSsr.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { NoSsr as MuiNoSsr, NoSsrProps as MuiNoSsrProps } from '@mui/material';
2+
3+
export function NoSsr(props: MuiNoSsrProps): JSX.Element {
4+
return <MuiNoSsr {...props} />;
5+
}
6+
7+
export default NoSsr;

src/base/NoSsr/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { NoSsr } from './NoSsr';

src/base/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export * from './ListSubheader';
5050
export * from './Menu';
5151
export * from './MenuItem';
5252
export * from './MenuList';
53+
export * from './NoSsr';
5354
export * from './OutlinedInput';
5455
export * from './Pagination';
5556
export * from './Paper';
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const CheckCircleIcon = ({
5+
width = DEFAULT_WIDTH,
6+
height = DEFAULT_HEIGHT,
7+
...props
8+
}: IconProps): JSX.Element => {
9+
return (
10+
<svg
11+
aria-hidden="true"
12+
viewBox="0 0 24 24"
13+
data-testid="CheckCircleIcon"
14+
fill={props.fill || 'currentColor'}
15+
width={width}
16+
height={height}
17+
xmlns="http://www.w3.org/2000/svg"
18+
{...props}
19+
>
20+
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"></path>
21+
</svg>
22+
);
23+
};
24+
25+
export default CheckCircleIcon;

src/icons/CheckCircle/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { CheckCircleIcon } from './CheckCircleIcon';

src/icons/Warning/WarningIcon.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
export const WarningIcon = ({
5+
width = DEFAULT_WIDTH,
6+
height = DEFAULT_HEIGHT,
7+
...props
8+
}: IconProps): JSX.Element => {
9+
return (
10+
<svg
11+
aria-hidden="true"
12+
viewBox="0 0 24 24"
13+
data-testid="WarningIcon"
14+
width={width}
15+
height={height}
16+
xmlns="http://www.w3.org/2000/svg"
17+
{...props}
18+
>
19+
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"></path>
20+
</svg>
21+
);
22+
};
23+
24+
export default WarningIcon;

src/icons/Warning/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { WarningIcon } from './WarningIcon';

src/icons/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export * from './Mesh';
4242
export * from './Calender';
4343
export * from './Chain';
4444
export * from './Challenges';
45+
export * from './CheckCircle';
4546
export * from './ChevronLeft';
4647
export * from './ContentClassIcons';
4748
export * from './Deployments';
@@ -112,4 +113,5 @@ export * from './Validate';
112113
export * from './View';
113114
export * from './Visibility';
114115
export * from './Visualizer';
116+
export * from './Warning';
115117
export * from './Workspace';

0 commit comments

Comments
 (0)