Skip to content

Add anchorAlignment properties to courtyard#621

Open
Devesh36 wants to merge 1 commit intotscircuit:mainfrom
Devesh36:anchoralignment
Open

Add anchorAlignment properties to courtyard#621
Devesh36 wants to merge 1 commit intotscircuit:mainfrom
Devesh36:anchoralignment

Conversation

@Devesh36
Copy link

This pull request adds support for an optional anchorAlignment property, using the ninePointAnchor type, to several courtyard component prop schemas. This allows specifying the anchor alignment for courtyard shapes, improving flexibility in layout and alignment. Related test coverage has also been updated.

Schema enhancements:

  • Added an optional anchorAlignment property (of type ninePointAnchor) to the prop schemas for courtyardCircleProps, courtyardRectProps, courtyardPillProps, and courtyardOutlineProps. [1] [2] [3] [4] [5] [6]

Testing improvements:

  • Updated the courtyardOutlineProps parsing test to include and verify the new anchorAlignment property. [1] [2]

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

@Devesh36
Copy link
Author

why?

ref : tscircuit/docs#519

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants