For me, there have been so many times when I felt the need to define an inner layer’s boolean property as opposite to another one. This happens mostly in design systems where there are a lot of inner layers in a component and sometimes, some of these components shouldn’t be visible when another is. For example, in a menu, there are some options for the items in the list like Avatars and Icons; an icon cin some systems] shouldn’t be visible when there’s an avatar. So I feel the need to define it’s property as “!Avatar && Icon” such as we see in so programming languages.
Page 1 / 1
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.