1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend/src/component/common/DisabledIndicator/DisabledIndicator.tsx
Fredrik Strand Oseberg 36fcac7178 Fix/project view desc (#515)
* fix: rollout icon and disabled state

* fix: mobile position

* refactor: move into style file

* fix: description box for projects

* fix: icon placement

* fix: icon

* fix: mobile project view

* fix: add style file to disabled indicator

* fix: hide icon on mobile

* fix: description

* fix: remove project logo
2021-11-24 14:36:21 +01:00

17 lines
412 B
TypeScript

import { useStyles } from './DisabledIndicator.styles';
import classnames from 'classnames';
interface IDisabledIndicator {
className?: string;
}
const DisabledIndicator = ({ className }: IDisabledIndicator) => {
const styles = useStyles();
return (
<span className={classnames(styles.indicator, className)}>
disabled
</span>
);
};
export default DisabledIndicator;