import * as React from 'react' ; import MaterialSnackbar from '@material-ui/core/Snackbar' ; import { ISnackbarProps } from './Snackbar.props' ; export { ISnackbarProps } from './Snackbar.props' ; see https see https export const Snackbar = React . forwardRef < unknown , ISnackbarProps > ( ( props , ref ) => < MaterialSnackbar { ... props } ref = { ref } / > ) ; Snackbar . displayName = 'Snackbar' ; export default Snackbar ;