diff options
author | crupest <crupest@outlook.com> | 2022-04-30 23:04:47 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-04-30 23:04:47 +0800 |
commit | 3281f057240991381e680f8e0f5bb48d14a7db93 (patch) | |
tree | 6768538e8aeef0d111099ec8ba4332051bfa8244 | |
parent | 5a095290db9abf5f8e9528ef4f56c0b974231ad1 (diff) | |
download | timeline-3281f057240991381e680f8e0f5bb48d14a7db93.tar.gz timeline-3281f057240991381e680f8e0f5bb48d14a7db93.tar.bz2 timeline-3281f057240991381e680f8e0f5bb48d14a7db93.zip |
...
-rw-r--r-- | FrontEnd/src/views/common/button/IconButton.tsx | 6 | ||||
-rw-r--r-- | FrontEnd/src/views/common/button/index.tsx | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/FrontEnd/src/views/common/button/IconButton.tsx b/FrontEnd/src/views/common/button/IconButton.tsx index 56c62588..89f570d4 100644 --- a/FrontEnd/src/views/common/button/IconButton.tsx +++ b/FrontEnd/src/views/common/button/IconButton.tsx @@ -1,9 +1,11 @@ -import classNames from "classnames"; import React from "react"; +import classNames from "classnames"; + +import { PaletteColorType } from "@/palette"; export type IconButtonProps = { icon: string; - color?: string; + color?: PaletteColorType; large?: boolean; } & React.ComponentPropsWithRef<"i">; diff --git a/FrontEnd/src/views/common/button/index.tsx b/FrontEnd/src/views/common/button/index.tsx new file mode 100644 index 00000000..cff5ba3f --- /dev/null +++ b/FrontEnd/src/views/common/button/index.tsx @@ -0,0 +1,6 @@ +import Button from "./Button"; +import FlatButton from "./FlatButton"; +import IconButton from "./IconButton"; +import LoadingButton from "./LoadingButton"; + +export { Button, FlatButton, IconButton, LoadingButton }; |