Skip to content

Commit f6736d6

Browse files
committed
update className guidelines
1 parent 4525968 commit f6736d6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/app/Component Guidelines.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ Stardust components construct the `className` prop in this order.
137137
1. `this.props.className`
138138
1. `<component>` (Semantic UI class)
139139

140+
Where it makes sense, some optional classes are automatically applied.
141+
For instance, the [`fitted`](http://semantic-ui.com/modules/checkbox.html#fitted)
142+
class on checkboxes with no labels (as prescribed by the checkbox docs).
143+
All magic is noted in the documentation examples.
144+
140145
#### Inherits `props.className` after `sd-<component>`
141146

142147
**Always**

0 commit comments

Comments
 (0)