IconButton doesn't need styles because it extends Button

This commit is contained in:
Red Adaya 2024-02-06 09:30:10 +08:00
parent 36e2578a03
commit a084ca4801
2 changed files with 0 additions and 1157 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,11 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
import * as React from "react";
import * as mobx from "mobx";
import { Button } from "./button";
import "./iconbutton.less";
class IconButton extends Button {
render() {
const { children, theme, variant = "solid", ...rest } = this.props;