1.2.1 • Published 9 months ago

@exodus/filesystem v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@exodus/filesystem

Module for tracking filesystem info

Install

yarn add @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>
  )
}
1.2.1

9 months ago

1.2.0

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

2 years ago