Value must be omitted for boolean attribute
noWrap
97 Total: {userData?.length ?? 0}
98 </Text>
99 <Group
100 noWrap={true}101 position='left'
102 spacing={'16px'}
103 style={{
Description
When using a boolean attribute in JSX, you can set the attribute value to true or omit the value. This helps to keep consistency in code.
Bad Practice
var Hello = <Hello personal={true} />;
Recommended
var Hello = <Hello personal />;