mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Mark Switcher and FormSwitch as deprecated
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
75ef7aca44
commit
c16d2aa6da
@ -35,6 +35,9 @@ const useStyles = makeStyles({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Use <Switch/> instead from "../switch.tsx".
|
||||||
|
*/
|
||||||
export function FormSwitch(props: FormControlLabelProps) {
|
export function FormSwitch(props: FormControlLabelProps) {
|
||||||
const classes = useStyles();
|
const classes = useStyles();
|
||||||
|
|
||||||
|
|||||||
@ -31,6 +31,9 @@ interface Props extends SwitchProps {
|
|||||||
classes: Styles;
|
classes: Styles;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Use <Switch/> instead from "../switch.tsx".
|
||||||
|
*/
|
||||||
export const Switcher = withStyles((theme: Theme) =>
|
export const Switcher = withStyles((theme: Theme) =>
|
||||||
createStyles({
|
createStyles({
|
||||||
root: {
|
root: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user