Skip to content

Conversation

@DominicS99
Copy link
Contributor

No description provided.

@DominicS99 DominicS99 requested a review from miorel as a code owner October 27, 2024 00:52
@DominicS99 DominicS99 requested a review from elimanzo October 27, 2024 00:53
Copy link
Contributor

@elimanzo elimanzo left a comment

Choose a reason for hiding this comment

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

Nice!

Box objects will have rounded corners and spaces; added null op;
dynamic height and width updated.

App now has 4 boxes of different colors
@DominicS99
Copy link
Contributor Author

New commit with requested changes and some style updates

Comment on lines +10 to +11
height: props.height ?? 100,
width: props.width ?? 100,
Copy link
Contributor

Choose a reason for hiding this comment

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

This is fine, but as mentioned in another comment I assume we're not going to vary the box sizes arbitrarily. As such, by making these not props, we can guarantee that every instance of Box is the same size.

Copy link
Contributor

Choose a reason for hiding this comment

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

(Saw that you did this for practice -- sounds good for now though I think you'll get plenty of practice regardless!)

@DominicS99 DominicS99 merged commit 057b1a3 into main Oct 28, 2024
9 checks passed
@DominicS99 DominicS99 deleted the dom/simon branch October 28, 2024 13:38
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.

4 participants