Skip to content

Conversation

@bdlowery
Copy link
Contributor

The size prop takes 4 values: "flexible" | "normal" | "compact" | "invisible"

Flexible and invisible were missing so I added them to the readme.

@bdlowery bdlowery changed the title Readme update Add missing size values to README Jan 10, 2025
README.md Outdated
| responseField | boolean | controls generation of `<input />` element |
| responseFieldName | string | changes the name of `<input />` element |
| size | string | one of "normal", "compact" |
| size | string | one of "normal", "compact", "flexible", invisible |

Choose a reason for hiding this comment

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

Just a small detail: quotation marks are missing for invisible

Suggested change
| size | string | one of "normal", "compact", "flexible", invisible |
| size | string | one of "normal", "compact", "flexible", "invisible" |

README.md Outdated
| responseField | boolean | controls generation of `<input />` element |
| responseFieldName | string | changes the name of `<input />` element |
| size | string | one of "normal", "compact" |
| size | string | one of "normal", "compact", "flexible", invisible |
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
| size | string | one of "normal", "compact", "flexible", invisible |
| size | string | one of "normal", "compact", "flexible" |

Invisible is purposefully not documented. It’s in the types, so you can use it if you know what you’re doing, but if it’s documented, people may think it’s like the invisible mode

Copy link
Owner

Choose a reason for hiding this comment

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

Maybe with a footnote…

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a valid point. I went ahead and removed it.

@bdlowery bdlowery requested a review from Le0Developer January 14, 2025 19:11
@Le0Developer Le0Developer merged commit 6046f7a into Le0Developer:main Jan 17, 2025
1 check passed
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.

3 participants