aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ui/src/badge
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-10-07 08:03:45 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-07 08:03:45 +0200
commit31f8ada876b3aec45ffffcf82079eaacb69349fc (patch)
tree9f5752b7bbc42c9b5b3c2b02517732b3a2e5b868 /packages/ui/src/badge
parentchore: simplify babel configuration (#2029) (diff)
downloadferdium-app-31f8ada876b3aec45ffffcf82079eaacb69349fc.tar.gz
ferdium-app-31f8ada876b3aec45ffffcf82079eaacb69349fc.tar.zst
ferdium-app-31f8ada876b3aec45ffffcf82079eaacb69349fc.zip
chore: upgrade react to latest (#2030)
Diffstat (limited to 'packages/ui/src/badge')
-rw-r--r--packages/ui/src/badge/ProBadge.tsx2
-rw-r--r--packages/ui/src/badge/index.tsx4
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/ui/src/badge/ProBadge.tsx b/packages/ui/src/badge/ProBadge.tsx
index 63d5d673a..be7ed8e58 100644
--- a/packages/ui/src/badge/ProBadge.tsx
+++ b/packages/ui/src/badge/ProBadge.tsx
@@ -1,6 +1,6 @@
1import { mdiStar } from '@mdi/js'; 1import { mdiStar } from '@mdi/js';
2import classnames from 'classnames'; 2import classnames from 'classnames';
3import React, { Component } from 'react'; 3import { Component } from 'react';
4import injectStyle from 'react-jss'; 4import injectStyle from 'react-jss';
5 5
6import { Badge, Icon } from '..'; 6import { Badge, Icon } from '..';
diff --git a/packages/ui/src/badge/index.tsx b/packages/ui/src/badge/index.tsx
index 5dd735879..a8f3ebcbf 100644
--- a/packages/ui/src/badge/index.tsx
+++ b/packages/ui/src/badge/index.tsx
@@ -1,5 +1,5 @@
1import classnames from 'classnames'; 1import classnames from 'classnames';
2import React, { Component } from 'react'; 2import { Component, ReactNode } from 'react';
3import injectStyle from 'react-jss'; 3import injectStyle from 'react-jss';
4 4
5import { Theme } from '../../../theme'; 5import { Theme } from '../../../theme';
@@ -8,7 +8,7 @@ import { IWithStyle } from '../typings/generic';
8interface IProps extends IWithStyle { 8interface IProps extends IWithStyle {
9 type: string; 9 type: string;
10 className?: string; 10 className?: string;
11 children: React.ReactNode; 11 children: ReactNode;
12} 12}
13 13
14const badgeStyles = (theme: Theme) => { 14const badgeStyles = (theme: Theme) => {