Skip to content

Add anchorAlignment properties to courtyard#621

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

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

Conversation

@Devesh36
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Author

why?

ref : tscircuit/docs#519

Copy link
Copy Markdown
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.

This still doesnt make sense

@github-actions
Copy link
Copy Markdown

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

@github-actions
Copy link
Copy Markdown

This PR was closed because it has been inactive for 1 day since being marked as stale.

@github-actions github-actions bot closed this Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants