Module for tracking filesystem info
npm install @exodus/filesystemModule for tracking filesystem info
``sh`
yarn add @exodus/filesystem
This feature is designed to be used together with @exodus/headless. See using the sdk.
See using the sdk for more details on basic UI-side setup.
`jsx
import { selectors } from '~/ui/flux'
const AvailableSpace = () => {
const freeSpace = useSelector(selectors.filesystem.freeSpace)
const totalSpace = useSelector(selectors.filesystem.totalSpace)
return (
Space available: {freeSpace} / {totalSpace}
)
}
``