message: fix(Snackbar): remove defaultProps
diff: @@ -56,20 +56,18 @@ export interface SnackbarProps
  const SnackbarComponent: React.FC<
  SnackbarProps & AdaptivityContextInterface
  -> = (props) => {
  - const {
  +> = ({
  children,
  - layout,
  + layout = "horizontal",
  action,
  before,
  after,
  viewWidth,
  - duration = 0,
  + duration = 4000,
  onActionClick,
  onClose,
  ...restProps
  - } = props;
  -
  +}: SnackbarProps & AdaptivityContextInterface) => {
  const platform = usePlatform();
  const { waitTransitionFinish } = useWaitTransitionFinish();
  @@ -243,11 +241,6 @@ const SnackbarComponent: React.FC<
  SnackbarComponent.displayName = "Snackbar";
  -SnackbarComponent.defaultProps = {
  - duration: 4000,
  - layout: "horizontal",
  -};
  -
  /**
  * @see https://vkcom.github.io/VKUI/#/Snackbar
  */
  