feat: ui.menu component #55
Annotations
2 errors and 1 warning
Check TypeScript types:
plugins/ui/src/js/src/elements/TabPanels.tsx#L13
error TS2322: Type '{ UNSAFE_style: { accentColor?: AccentColor | undefined; alignContent?: AlignContent | undefined; alignItems?: AlignItems | undefined; alignSelf?: AlignSelf | undefined; ... 803 more ...; vectorEffect?: VectorEffect | undefined; }; ... 38 more ...; isHidden?: Responsive<...> | undefined; }' is not assignable to type 'SpectrumTabPanelsProps<object>'.
Types of property 'children' are incompatible.
Type 'CollectionChildren<ReactNode>' is not assignable to type 'CollectionChildren<object>'.
Type 'ReactElement<ItemProps<ReactNode>, string | JSXElementConstructor<any>>' is not assignable to type 'CollectionChildren<object>'.
Type 'ReactElement<ItemProps<ReactNode>, string | JSXElementConstructor<any>>' is not assignable to type 'ReactElement<SectionProps<object>, string | JSXElementConstructor<any>>'.
Type 'ItemProps<ReactNode>' is not assignable to type 'SectionProps<object>'.
Types of property 'children' are incompatible.
Type 'ReactNode' is not assignable to type 'ItemElement<object> | ItemElement<object>[] | ItemRenderer<object>'.
Type 'undefined' is not assignable to type 'ItemElement<object> | ItemElement<object>[] | ItemRenderer<object>'.
|
Check TypeScript types
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading