mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Improve VerticalRhythm documentation.
This commit is contained in:
parent
de491a3587
commit
fbbb692831
3 changed files with 51 additions and 3 deletions
|
@ -0,0 +1,41 @@
|
|||
<div class="kuiVerticalRhythm">
|
||||
<div class="kuiPanel">
|
||||
<div class="kuiPanelHeader">
|
||||
<div class="kuiPanelHeader__title">
|
||||
Panel title
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="kuiPanelBody">
|
||||
<p>Content goes here</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="kuiVerticalRhythm">
|
||||
<div class="kuiPanel">
|
||||
<div class="kuiPanelHeader">
|
||||
<div class="kuiPanelHeader__title">
|
||||
Panel title
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="kuiPanelBody">
|
||||
<p>Content goes here</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="kuiVerticalRhythm">
|
||||
<div class="kuiPanel">
|
||||
<div class="kuiPanelHeader">
|
||||
<div class="kuiPanelHeader__title">
|
||||
Panel title
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="kuiPanelBody">
|
||||
<p>Content goes here</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -15,10 +15,17 @@ export default createExample([{
|
|||
html: require('./vertical_rhythm.html'),
|
||||
hasDarkTheme: false,
|
||||
}, {
|
||||
title: 'VerticalRhythm with Panels',
|
||||
title: 'VerticalRhythm as wrapper',
|
||||
description: (
|
||||
<p>You can apply it to any component, e.g. Panels.</p>
|
||||
<p>Wrap any series of components, e.g. Panel, in the VerticalRhythm component to space them apart.</p>
|
||||
),
|
||||
html: require('./vertical_rhythm_with_panels.html'),
|
||||
html: require('./vertical_rhythm_as_wrapper.html'),
|
||||
hasDarkTheme: false,
|
||||
}, {
|
||||
title: 'VerticalRhythm on component',
|
||||
description: (
|
||||
<p>You can also apply the VerticalRhythm class directly to components.</p>
|
||||
),
|
||||
html: require('./vertical_rhythm_on_component.html'),
|
||||
hasDarkTheme: false,
|
||||
}]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue