message: fix(SubnavigationButton): remove defaultProps
diff: @@ -45,20 +45,17 @@ const SubnavigationButtonTypography: React.FC<SubnavButtonTypographyProps> = ({
  /**
  * @see https://vkcom.github.io/VKUI/#/SubnavigationButton
  */
  -export const SubnavigationButton: React.FC<SubnavigationButtonProps> = (
  - props: SubnavigationButtonProps
  -) => {
  - const platform = usePlatform();
  - const {
  - size,
  +export const SubnavigationButton: React.FC<SubnavigationButtonProps> = ({
  + size = "m",
  selected,
  - textLevel,
  + textLevel = 1,
  before,
  after,
  expandable,
  children,
  ...restProps
  - } = props;
  +}: SubnavigationButtonProps) => {
  + const platform = usePlatform();
  return (
  <Tappable
  @@ -96,8 +93,3 @@ export const SubnavigationButton: React.FC<SubnavigationButtonProps> = (
  </Tappable>
  );
  };
  -
  -SubnavigationButton.defaultProps = {
  - size: "m",
  - textLevel: 1,
  -};
  