| 3 | |
| 4 | // PROVIDER |
| 5 | interface 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 | } |
| 31 | declare const KonstaProvider: React.FunctionComponent< |
| 32 | React.PropsWithChildren<KonstaProviderProps> |
| 33 | >; |
nothing calls this directly
no outgoing calls
no test coverage detected