mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-04 18:59:08 +01:00
IconButton doesn't need styles because it extends Button
This commit is contained in:
parent
36e2578a03
commit
a084ca4801
File diff suppressed because it is too large
Load Diff
@ -2,11 +2,7 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
import * as mobx from "mobx";
|
|
||||||
import { Button } from "./button";
|
import { Button } from "./button";
|
||||||
|
|
||||||
import "./iconbutton.less";
|
|
||||||
|
|
||||||
class IconButton extends Button {
|
class IconButton extends Button {
|
||||||
render() {
|
render() {
|
||||||
const { children, theme, variant = "solid", ...rest } = this.props;
|
const { children, theme, variant = "solid", ...rest } = this.props;
|
||||||
|
Loading…
Reference in New Issue
Block a user