Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getPropsWithDeprecations(props: SnackbarProps) {
return handleDeprecations(
props,
{
show: 'open',
onShow: 'onOpen',
onHide: 'onClose',
alignStart: 'leading',
multiline: '',
actionOnBottom: 'stacked',
actionHandler: '',
actionText: ''
},
'Snackbar'
);
}