Leda
You can wrap your app into the Leda provider to give nested Leda 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.Leda> ... </L.Leda> </> ); }