Mark Switcher and FormSwitch as deprecated

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-12-27 12:35:41 +03:00
1 parent 75ef7aca44
commit c16d2aa6da
2 files changed
+6

No files matched your search

@@ -35,6 +35,9 @@ const useStyles = makeStyles({
},
});
/**
* @deprecated Use <Switch/> instead from "../switch.tsx".
*/
export function FormSwitch(props: FormControlLabelProps) {
const classes = useStyles();
@@ -31,6 +31,9 @@ interface Props extends SwitchProps {
classes: Styles;
}
/**
* @deprecated Use <Switch/> instead from "../switch.tsx".
*/
export const Switcher = withStyles((theme: Theme) =>
createStyles({
root: {