If
What it does
- This take in a boolean value, when its true, the child component will be displayed, if not, this component will be ignored.
Parameters
condition
- The condition for the child element to be displayed
child
- The element to be displayed if the condition is met
Size Behaviour