fix: isFlexProp
This commit is contained in:
parent
829ebf93e7
commit
b91d4bfe54
|
|
@ -18,7 +18,7 @@ export const flexProps = {
|
|||
*/
|
||||
export function isFlexProp (type, value, empty) {
|
||||
if (empty && isEmptyString(value)) {
|
||||
return false
|
||||
return true
|
||||
}
|
||||
return !!flexProps[type]?.includes(value)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue