Commit ba0f2e3
committed
Export split component as
I've removed exports for `SplitViewHost` & `SplitViewScreen` in favour
of `Split.Host` & `Split.Column` / `Split.Inspector`.
The naming here is open for discussion. I prefer short version of `Split`
instead of `SplitView`, but that's matter of preference, can't find
reasonable (& clinching) arguments for one or the other.
Most important thing here is to just make it consistent. If we are to
use `View` suffix, then we should do similar thing for Stack ->
`StackView.Host` & `StackView.Screen`.
So it's either:
`Stack.Host`, `Stack.Screen`,
`Tabs.Host`, `Tabs.Screen`,
`Split.Host`, `Split.Column`, `Split.Inspector`
OR
`StackView.Host`, `StackView.Screen`,
`TabsView.Host`, `TabsView.Screen`,
`SplitView.Host`, `SplitView.Column`, `SplitView.Inspector`
OR MAYBE (?)
`Stack.HostView`, `Stack.ScreenView`,
`Tabs.HostView`, `Tabs.ScreenView`,
`Split.HostView`, `Split.ColumnView`, `Split.InspectorView`Split instead of separate ones1 parent 94c1d71 commit ba0f2e3
2 files changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
0 commit comments