Description
In order to support the as prop locally, I have to duplicate the generated components inside my own design system, so I'm trying to use the same logic used inside the components.
the problem it seems that getAspectRatioStyle is exported but the types for that function is not, could you please export the types as well?
Problem Statement/Justification
Since the function is exported. it make more sense to make it type safe and allow up to replicate the same logic
Proposed Solution or API
adding inside the packages/generator/src/artifacts/js/pattern.ts#L62 line 62
export declare function get${upperName}Style(props?: ${upperName}Properties): SystemStyleObject
Alternatives
No response
Additional Information
No response
Description
In order to support the
asprop locally, I have to duplicate the generated components inside my own design system, so I'm trying to use the same logic used inside the components.the problem it seems that getAspectRatioStyle is exported but the types for that function is not, could you please export the types as well?
Problem Statement/Justification
Since the function is exported. it make more sense to make it type safe and allow up to replicate the same logic
Proposed Solution or API
adding inside the
packages/generator/src/artifacts/js/pattern.ts#L62line 62Alternatives
No response
Additional Information
No response