Naming-convention
Colours
{% hint style="success" %}
Alert
{% endhint %}
{% hint style="danger" %}
Warning
{% endhint %}
Size and Spacing
We use T-shirt convention
{% hint style="success" %}
S
M
L
XL
XXL
XXXL
XXXXL
S
M
L
XL
2XL
3XL
4XL
{% endhint %}
{% hint style="danger" %}
SM
MD
LG
XL
{% endhint %}
Boolean props
{% hint style="success" %}
is[whatever]
has[whatever]
{% endhint %}
{% hint style="danger" %}
with[whatever]
Because in React, the prefixwith
is used for HoCuse[whatever]
Because in React, the prefixuse
is used for hooks {% endhint %}