vega-frontend-monorepo/libs/react-helpers/src/hooks/index.ts
Matthew Russell 0b4f918208
chore(#2412): refactor theme context (#2435)
* chore: switch theme to zustand, delete context

* chore: switch apps/componenets to consume the hook

* chore: update storybook theme usage to use documentElement

* chore: dry up theme switcher listener for storybooks

* feat: optional theme param to allow toggling

* chore: add additional check for matchMedia function

* chore: change block explorer test to use light theme as its the default

* chore: remove unused headerprops for multisig-signer

* chore: remove unused props from theme switcher component

* chore: dry up validateTheme func

* chore: remove unused props from explorer header test

* chore: use new theme switcher in account history container
2022-12-20 18:55:35 -08:00

14 lines
504 B
TypeScript

export * from './__generated__/NetworkParams';
export * from './use-apply-grid-transaction';
export * from './use-data-provider';
export * from './use-fetch';
export * from './use-mutation-observer';
export * from './use-network-params';
export * from './use-outside-click';
export * from './use-resize-observer';
export * from './use-resize';
export * from './use-screen-dimensions';
export * from './use-theme-switcher';
export * from './use-storybook-theme-observer';
export * from './use-yesterday';