Skip to content

Collapse => TypeScript#212

Merged
mdespuits merged 1 commit intomasterfrom
collapse-ts
Jun 12, 2020
Merged

Collapse => TypeScript#212
mdespuits merged 1 commit intomasterfrom
collapse-ts

Conversation

@mdespuits
Copy link
Copy Markdown
Contributor

Fixes #192.

@mdespuits
Copy link
Copy Markdown
Contributor Author

@pixelbandito Would it be reasonable to pass any additional props onto the underlying <div />

@mdespuits
Copy link
Copy Markdown
Contributor Author

@sebastianvera before i merge I’m going to pass extra props to the div in the case we want to pass any custom classes (for non-height adjustments)

@mdespuits mdespuits merged commit 922b1b0 into master Jun 12, 2020
@mdespuits mdespuits deleted the collapse-ts branch June 12, 2020 14:15
@mdespuits
Copy link
Copy Markdown
Contributor Author

mdespuits commented Jun 12, 2020

@sebastianvera Turns out it wasn't really necessary. Any styling of inner content should be done with the children themselves anyways and this can focus entirely on height.

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.

Convert Collapse to TypeScript

2 participants