Skip to content

Commit d509874

Browse files
committed
Update documentation
1 parent 2c3756d commit d509874

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

apps/docs/docs/component-references/Card.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"props": [
1212
{
1313
"prop": "align",
14-
"type": "Alignment"
14+
"type": "Alignment.TextHorizontal"
1515
},
1616
{
1717
"prop": "bgVariant",

apps/docs/docs/component-references/Nav.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{
1313
"prop": "align",
1414
"description": "Alignment of NavBar",
15-
"type": "Alignment"
15+
"type": "Alignment.JustifyContent"
1616
},
1717
{
1818
"prop": "cardHeader",

apps/docs/docs/component-references/Navbar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"props": [
6969
{
7070
"prop": "align",
71-
"type": "Alignment"
71+
"type": "Alignment.JustifyContent"
7272
},
7373
{
7474
"prop": "fill",

apps/docs/docs/component-references/Pagination.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"props": [
1212
{
1313
"prop": "align",
14-
"type": "Alignment",
14+
"type": "Alignment.JustifyContent | fill",
1515
"description": "Alignment of the page buttons: 'start' (or 'left'), 'center', 'end' (or 'right'), or 'fill'"
1616
},
1717
{

apps/docs/docs/component-references/Tabs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
},
7777
{
7878
"prop": "align",
79-
"type": "Alignment"
79+
"type": "Alignment.JustifyContent"
8080
},
8181
{
8282
"prop": "card",

apps/docs/docs/reference/types.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ sidebar: auto
99
## Alignment
1010

1111
```ts
12-
type Alignment = 'start' | 'end' | 'center' | 'fill'
12+
type CommonAlignment = 'start' | 'end' | 'center' | 'fill'
1313
namespace Alignment {
14-
type Vertical = Alignment | 'baseline' | 'stretch'
15-
type Horizontal = Alignment | 'between' | 'around'
16-
type Content = Alignment | 'between' | 'around' | 'stretch'
14+
type Vertical = CommonAlignment | 'baseline' | 'stretch'
15+
type Horizontal = CommonAlignment | 'between' | 'around'
16+
type Content = CommonAlignment | 'between' | 'around' | 'stretch'
17+
type JustifyContent = 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly'
18+
type TextHorizontal = 'start' | 'end' | 'center'
1719
}
1820
```
1921

0 commit comments

Comments
 (0)