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

NameTypeDescription
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:

autoComplete

pagination

theme
PartialGlobalDefaultTheme
...
renders
GlobalDefaultRenders
...
  • Basic
  • Messages

() => {
  return (
    <>
      <L.Leda>
        ...
      </L.Leda>
    </>
  );
}