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

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.Chili>
        ...
      </L.Chili>
    </>
  );
}