summaryrefslogtreecommitdiff
path: root/src/components/shared/Fab.tsx
diff options
context:
space:
mode:
authorHaishan <[email protected]>2020-12-06 20:12:16 +0800
committerHaishan <[email protected]>2020-12-06 21:09:18 +0800
commitb0b0edab16c99ce9cef0bbb4cd10e05a3cb3ffd7 (patch)
treef7b487afda73e507f7130b8057782d406ef71665 /src/components/shared/Fab.tsx
parentd2b01d80fb8dae8e3400bb09038d3afbcbd55495 (diff)
build: upgrade deps
Diffstat (limited to 'src/components/shared/Fab.tsx')
-rw-r--r--src/components/shared/Fab.tsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/components/shared/Fab.tsx b/src/components/shared/Fab.tsx
new file mode 100644
index 0000000..68750ef
--- /dev/null
+++ b/src/components/shared/Fab.tsx
@@ -0,0 +1,17 @@
+import './rtf.css';
+
+import * as React from 'react';
+import { Action, Fab } from 'react-tiny-fab/dist';
+
+import s from './Fab.module.css';
+
+export function IsFetching({ children }: { children: React.ReactNode }) {
+ return <span className={s.spining}>{children}</span>;
+}
+
+export const position = {
+ right: 10,
+ bottom: 10,
+};
+
+export { Fab, Action };