[FEATURE] - Change options.title
type from string to React.ReactNode
#512
Labels
enhancement
New feature or request
options.title
type from string to React.ReactNode
#512
Summary
It could be nice to add the logo of our company/website next to the title.
Instead of making a complex configuration with
options.title
,options.logo
, etc, I guess it's better to allow aReactNode
(bonus: backward compatibility withstring
) and let us customize as we want (adding padding, etc).Basic Example
Use case: display a logo + title of the company.
Currently:
What could be nice:
Drawbacks
Such a feature (if we choose to use a
ReactNode
) forces the configuration to be declared in a.jsx|.tsx
file.Unresolved questions
No response
The text was updated successfully, but these errors were encountered: