import {createStyles, WithStyles} from "@material-ui/core";const styles = (theme: Theme) => createStyles({ root: {}});interface MyProps extends WithStyles<typeof styles> {}export class MyComponent extends Component<MyProps> { constructor(props: MyProps) { super(props); console.log(props.classes); // why this is undefined? }}
Why props.classes is undefined?