-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Adding paper documentation (#851)
- Loading branch information
1 parent
2615f9e
commit 912daf6
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@extends('layout.containers.doc') | ||
|
||
@section('doc-content') | ||
@markdown | ||
# Paper | ||
Wraps content inside a container | ||
@endmarkdown | ||
|
||
@doc(['slug' => 'paper']) | ||
@enddoc | ||
@stop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@paper([ | ||
'classList' => ['u-margin__bottom--4'] | ||
]) | ||
Content wrapped with the paper component | ||
@endpaper | ||
|
||
@paper([ | ||
'classList' => ['u-margin__bottom--4'], | ||
'padding' => '4' | ||
]) | ||
Content wrapped with the paper component. Padding parameter set to "4" | ||
@endpaper | ||
|
||
|
||
@paper([ | ||
'classList' => ['u-margin__bottom--4'], | ||
'transparent' => true | ||
]) | ||
Content wrapped with the paper component. Transparent parameter set to "true" removing shadow and background. | ||
@endpaper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"paper": { | ||
"heading": "Paper", | ||
"subHeading": "", | ||
"text": "" | ||
} | ||
} |