MCPcopy Create free account
hub / github.com/apitable/apitable / useProviderTheme

Function useProviderTheme

packages/components/src/hooks/use_provider_theme.ts:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21import { useTheme as useScTheme } from 'styled-components';
22
23export const useProviderTheme = (): ITheme => {
24 return useScTheme() || defaultTheme;
25};
26
27export const useTheme = useProviderTheme;

Callers 9

AlertFunction · 0.90
TooltipFunction · 0.90
CheckboxFunction · 0.90
LoadingFunction · 0.90
SelectFunction · 0.90
list_dropdown.tsxFile · 0.90
LineSearchInputBaseFunction · 0.90
tag.tsxFile · 0.90
index.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected