Skip to Content
Open SourceHydraFeatures@exodus/filesystem

@exodus/filesystem

Module for tracking filesystem info

Install

npm i @exodus/filesystem

Usage

This feature is designed to be used together with @exodus/headless. See using the sdk.

UI Side

See using the sdk for more details on basic UI-side setup.

import { selectors } from '~/ui/flux';
 
const AvailableSpace = () => {
  const freeSpace = useSelector(selectors.filesystem.freeSpace);
  const totalSpace = useSelector(selectors.filesystem.totalSpace);
 
  return (
    <Text>
      Space available: {freeSpace} / {totalSpace}
    </Text>
  );
};
Last updated on

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right