Chili
You can wrap your app into the Chili provider to give nested Chili components access to some globals you may want to define in the provider, see the table below.
Props
| Name | Type | Description |
|---|---|---|
children | React.ReactNode | The app or a part of it that has access to the the other props |
messages | PartialGlobalDefaultMessages | Customize component text labels globally. Available messages: |
theme | PartialGlobalDefaultTheme | ... |
renders | GlobalDefaultRenders | ... |
() => { return ( <> <L.Chili> ... </L.Chili> </> ); }
