Skip to content
filedom
Esc
↑↓navigate↵open⌘Jpreview
On this page

useDesktopSettings

Reads inherited desktop display settings.

import { useDesktopSettings } from 'filedom';

const { hideExtensions } = useDesktopSettings();

Returns

{ hideExtensions: boolean } from the nearest VirtualTreeProvider. Without a provider, hideExtensions is false.

Was this page helpful?