MCPcopy
hub / github.com/konstaui/konsta / KonstaProviderProps

Interface KonstaProviderProps

src/react/konsta-react.d.ts:5–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4// PROVIDER
5interface KonstaProviderProps {
6 /**
7 * App theme. If set to `'parent'` it will look for `ios` or `md` class on root `<html>` element, useful to use with parent framework like Framework7 or Ionic
8 *
9 * @default 'material'
10 */
11 theme?: 'ios' | 'material' | 'parent';
12 /**
13 * Include `dark:` variants (if dark theme is in use)
14 *
15 * @default false
16 * */
17 dark?: boolean;
18 /**
19 * Enables touch ripple effect in Material theme. Allows to globally disable touch ripple for all components
20 *
21 * @default true
22 */
23 materialTouchRipple?: boolean;
24 /**
25 * Enables touch highlight effect in iOS theme. Allows to globally disable touch highlight for all components
26 *
27 * @default true
28 */
29 iosHoverHighlight?: boolean;
30}
31declare const KonstaProvider: React.FunctionComponent<
32 React.PropsWithChildren<KonstaProviderProps>
33>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected