-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
BCBreaking changeBreaking change
Milestone
Description
Looking at the modifier classes, I think we could further unify their names instead of attempting to build sentence-like names: .isToolbarAlignedToTop
➡️ .isToolbarAlignTop
, etc. The pattern would be:
.is<ELEMENT><PROP-NAME><PROP-VALUE>
foroneOf
prop types, e.g..isRootColorPrimary
,.is<ELEMENT><PROP-NAME>
for truthy boolean prop types, e.g..isRootBlock
.
If you agree, I'd do it in a separate PR (or a commit at least) and also document it in part 4.
Originally posted by @adamkudrna in #424 (comment)
adamkudrna
Metadata
Metadata
Assignees
Labels
BCBreaking changeBreaking change
Type
Projects
Status
🔖 To do