Skip to content

Property 'beyond-layout-children' not recognized  #1

@jircdev

Description

@jircdev

Issue Description:
I encountered an error while using the @beyond-js/react-18-widgets package in my TypeScript project. The error message is: "Property 'beyond-layout-children' does not exist on type 'JSX.IntrinsicElements'."

Package Version:
@beyond-js/react-18-widgets: [insert package version here]

Expected Behavior:
I expect the package to provide TypeScript declarations for all its components and properties so that TypeScript can recognize and type-check them without any errors.

Actual Behavior:
The beyond-layout-children property is not being recognized by TypeScript, leading to a compilation error. I believe this is due to missing or incorrect TypeScript declarations in the package.

Steps to Reproduce:

  1. Install the @beyond-js/react-18-widgets package in a TypeScript project.
  2. Use the beyond-layout-children property in a JSX element.
  3. Attempt to compile the TypeScript project.

Error Message:

Property 'beyond-layout-children' does not exist on type 'JSX.IntrinsicElements'.ts(2339)

.

Proposed Solution:
I suggest that the package maintainers add proper TypeScript declarations for all components and properties, including the 'beyond-layout-children' property. This will ensure that developers using TypeScript can benefit from type checking and avoid such compilation errors.

Please let me know if any additional information is required to address this issue. Thank you for your attention to this matter.

Metadata

Metadata

Assignees

Labels

Code Editor WarningIndicates issues that result in code editor warnings or error messages but do not affect the functioimprovementIdentifies suggestions or enhancements that can improve the codebase, user experience, or project e

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions