1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

feat(app): enforce using of props in r2a [EE-3215] (#6943)

This commit is contained in:
Chaim Lev-Ari 2022-05-24 08:35:20 +03:00 committed by GitHub
parent 01dc9066b7
commit dc98850489
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 20 additions and 20 deletions

View file

@ -3,7 +3,6 @@ import clsx from 'clsx';
import { isLimitedToBE } from '@/portainer/feature-flags/feature-flags.service';
import { BEFeatureIndicator } from '@/portainer/components/BEFeatureIndicator';
import { FeatureId } from '@/portainer/feature-flags/enums';
import { r2a } from '@/react-tools/react2angular';
import './Switch.css';
@ -55,14 +54,3 @@ export function Switch({
</>
);
}
export const SwitchAngular = r2a(Switch, [
'name',
'checked',
'id',
'disabled',
'dataCy',
'onChange',
'feature',
'className',
]);