Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add height to the group #160

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Add height to the group #160

merged 1 commit into from
Dec 13, 2024

Conversation

ecarreras
Copy link
Member

@ecarreras ecarreras commented Dec 13, 2024

This pull request introduces a new height property to the Group class in src/Group.ts and includes corresponding unit tests to ensure the property is set correctly. The main changes include adding getter and setter methods for the height property and updating the constructor to handle the new property.

Changes to Group class:

  • Added a _height property with getter and setter methods to the Group class in src/Group.ts.
  • Updated the Group class constructor to parse and set the height property from the provided props object.

Unit tests:

  • Added a new test case in src/spec/Group.spec.ts to verify that the height property can be set and retrieved correctly.

@mguellsegarra mguellsegarra merged commit a5a85e7 into v2 Dec 13, 2024
1 check passed
@mguellsegarra mguellsegarra deleted the 66396/group-height branch December 13, 2024 13:00
github-actions bot pushed a commit that referenced this pull request Dec 13, 2024
# [2.26.0](v2.25.0...v2.26.0) (2024-12-13)

### Features

* **group:** add height ([#160](#160)) ([a5a85e7](a5a85e7))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants