-
Notifications
You must be signed in to change notification settings - Fork 3
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
Padma t1 #202
Padma t1 #202
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good from what I can see
extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {} | ||
extends React.TextareaHTMLAttributes<HTMLTextAreaElement> { | ||
charcount?: "simple" | "limited"; | ||
charcountstyling?: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this be:
charcountStyling?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where it's being applied it causes a loud warning about needing to be lowercase for custom DOM attributes.
There's probably a better way to add these two properties in general.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see makes sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
love it!! Thank you!
const opts = useMemo(() => { | ||
if (hops.sort) { | ||
const sorted = hops.options.sort((a, b) => | ||
a.label.localeCompare(b.label) | ||
); | ||
hops.sort === "descending" && sorted.reverse(); | ||
return sorted; | ||
} | ||
return hops.options; | ||
}, [hops.options, hops.sort]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
🎉 This PR is included in version 1.5.0-val.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Purpose
Round one of Padma testing concerns.