Animacja w reakcji przepełniania stosu

/* This CSS style is applied when the drawer is opened */
const openedStyle = {
  maxWidth: '100%' /* max-with is 100% when the drawer is opened */,
};

/* This CSS style is applied when the drawer is closed */yep
const closedStyle = {
  maxWidth: 0 /* max-width is 0 in the closed drawer */,
};
payam lenovo