diff options
| author | Haishan <[email protected]> | 2020-12-06 20:12:16 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2020-12-06 21:09:18 +0800 |
| commit | b0b0edab16c99ce9cef0bbb4cd10e05a3cb3ffd7 (patch) | |
| tree | f7b487afda73e507f7130b8057782d406ef71665 /src/components/shared/Fab.tsx | |
| parent | d2b01d80fb8dae8e3400bb09038d3afbcbd55495 (diff) | |
build: upgrade deps
Diffstat (limited to 'src/components/shared/Fab.tsx')
| -rw-r--r-- | src/components/shared/Fab.tsx | 17 |
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 }; |
