kibana/packages/kbn-coloring
Patryk Kopyciński 0780c19322
Add explicit children types (#181257)
## Summary

Prep work for React@18 bump

tl;dr In React@18 `React.FC` doesn't contain `children` anymore, so in
order to make the bump easier I have decided to split the effort in
multiple faces and hopefully this will make it easier for everyone

This PR focuses only on adding explicit `children` declaration either by
using `React.PropsWithChildren` type or by adding `children:
React.ReactNode` to the existing props types

https://github.com/DefinitelyTyped/DefinitelyTyped/issues/46691

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Sergi Massaneda <sergi.massaneda@gmail.com>
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
Co-authored-by: James Gowdy <jgowdy@elastic.co>
2024-04-29 16:56:41 +01:00
..
.storybook [Step 1] Move CustomizablePalette from Lens into @kbn/coloring package (#129291) 2022-04-07 14:49:36 +05:00
src Add explicit children types (#181257) 2024-04-29 16:56:41 +01:00
index.ts [Lens] Visualization UI package refactoring (#156185) 2023-05-04 14:12:10 +02:00
jest.config.js [Step 1] Move CustomizablePalette from Lens into @kbn/coloring package (#129291) 2022-04-07 14:49:36 +05:00
kibana.jsonc Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
package.json [Lens][Event annotations] Move logic into packages (#161500) 2023-07-19 09:46:57 -05:00
README.md [Step 1] Move CustomizablePalette from Lens into @kbn/coloring package (#129291) 2022-04-07 14:49:36 +05:00
tsconfig.json [ES|QL] Add line breaks redesign (#173596) 2023-12-21 11:01:15 +02:00

@kbn/coloring

This package contains the types, utility methods, and components needed to make Color Palette work.