Skip to content

Commit 3716071

Browse files
committed
fixed a formatting issue
1 parent db58c2f commit 3716071

File tree

1 file changed

+63
-63
lines changed

1 file changed

+63
-63
lines changed

website/docs/components/application-state/partials/code/component-api.md

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,27 @@
33
### ApplicationState
44

55
<Doc::ComponentApi as |C|>
6-
<C.Property @name="align" @type="enum" @values={{array "left" "center" }} @default="left">
7-
Sets the alignment of the Application State content.
8-
</C.Property>
9-
<C.Property @name="isAutoCentered" @default="true" @type="boolean">
10-
Horizontally centers the component within its container.
11-
</C.Property>
12-
<C.Property @name="<[A].Media>" @type="yielded component">
13-
`ApplicationState::Media` yielded as contextual component (see below).
14-
</C.Property>
15-
<C.Property @name="<[A].Header>" @type="yielded component">
16-
`ApplicationState::Header` yielded as contextual component (see below).
17-
</C.Property>
18-
<C.Property @name="<[A].Body>" @type="yielded component">
19-
`ApplicationState::Body` yielded as contextual component (see below).
20-
</C.Property>
21-
<C.Property @name="<[A].Footer>" @type="yielded component">
22-
`ApplicationState::Footer` yielded as contextual component (see below).
23-
</C.Property>
24-
<C.Property @name="...attributes">
25-
This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering).
26-
</C.Property>
6+
<C.Property @name="align" @type="enum" @values={{array "left" "center" }} @default="left">
7+
Sets the alignment of the Application State content.
8+
</C.Property>
9+
<C.Property @name="isAutoCentered" @default="true" @type="boolean">
10+
Horizontally centers the component within its container.
11+
</C.Property>
12+
<C.Property @name="<[A].Media>" @type="yielded component">
13+
`ApplicationState::Media` yielded as contextual component (see below).
14+
</C.Property>
15+
<C.Property @name="<[A].Header>" @type="yielded component">
16+
`ApplicationState::Header` yielded as contextual component (see below).
17+
</C.Property>
18+
<C.Property @name="<[A].Body>" @type="yielded component">
19+
`ApplicationState::Body` yielded as contextual component (see below).
20+
</C.Property>
21+
<C.Property @name="<[A].Footer>" @type="yielded component">
22+
`ApplicationState::Footer` yielded as contextual component (see below).
23+
</C.Property>
24+
<C.Property @name="...attributes">
25+
This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering).
26+
</C.Property>
2727
</Doc::ComponentApi>
2828

2929
### Contextual components
@@ -33,67 +33,67 @@ This component supports use of [`...attributes`](https://guides.emberjs.com/rele
3333
The `ApplicationState::Media` component, yielded as contextual component.
3434

3535
<Doc::ComponentApi as |C|>
36-
<C.Property @name="yield">
37-
Elements passed as children are yielded as inner content of the "media" block.
38-
</C.Property>
39-
<C.Property @name="...attributes">
40-
This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering).
41-
</C.Property>
36+
<C.Property @name="yield">
37+
Elements passed as children are yielded as inner content of the "media" block.
38+
</C.Property>
39+
<C.Property @name="...attributes">
40+
This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering).
41+
</C.Property>
4242
</Doc::ComponentApi>
4343

4444
#### [A].Header
4545

4646
The `ApplicationState::Header` component, yielded as contextual component.
4747

4848
<Doc::ComponentApi as |C|>
49-
<C.Property @name="errorCode" @type="string">
50-
The error code to be displayed.
51-
</C.Property>
52-
<C.Property @name="icon" @type="string">
53-
Adds a leading icon to the title. Accepts any [icon](/icons/library) name.
54-
</C.Property>
55-
<C.Property @name="title" @type="string">
56-
The text of the title
57-
</C.Property>
58-
<C.Property @name="titleTag" @type="enum" @values={{array "div" "h1" "h2" "h3" "h4" "h5" "h6"}} @default="div">
59-
The HTML tag that wraps the title text.
60-
</C.Property>
61-
<C.Property @name="...attributes">
62-
This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering).
63-
</C.Property>
49+
<C.Property @name="errorCode" @type="string">
50+
The error code to be displayed.
51+
</C.Property>
52+
<C.Property @name="icon" @type="string">
53+
Adds a leading icon to the title. Accepts any [icon](/icons/library) name.
54+
</C.Property>
55+
<C.Property @name="title" @type="string">
56+
The text of the title
57+
</C.Property>
58+
<C.Property @name="titleTag" @type="enum" @values={{array "div" "h1" "h2" "h3" "h4" "h5" "h6"}} @default="div">
59+
The HTML tag that wraps the title text.
60+
</C.Property>
61+
<C.Property @name="...attributes">
62+
This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering).
63+
</C.Property>
6464
</Doc::ComponentApi>
6565

6666
#### [A].Body
6767

6868
The `ApplicationState::Body` component, yielded as contextual component.
6969

7070
<Doc::ComponentApi as |C|>
71-
<C.Property @name="yield">
72-
Elements passed as children are yielded as inner content of the "body" block.
73-
</C.Property>
74-
<C.Property @name="text" @type="string">
75-
Note: use `@text` to pass directly text to the "body", with a predefined style. This component does not support `@text` on the component invocation if it is used with yielded content.
76-
</C.Property>
77-
<C.Property @name="...attributes">
78-
This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering).
79-
</C.Property>
71+
<C.Property @name="yield">
72+
Elements passed as children are yielded as inner content of the "body" block.
73+
</C.Property>
74+
<C.Property @name="text" @type="string">
75+
Note: use `@text` to pass directly text to the "body", with a predefined style. This component does not support `@text` on the component invocation if it is used with yielded content.
76+
</C.Property>
77+
<C.Property @name="...attributes">
78+
This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering).
79+
</C.Property>
8080
</Doc::ComponentApi>
8181

8282
#### [A].Footer
8383

8484
The `ApplicationState::Footer` component, yielded as contextual component.
8585

8686
<Doc::ComponentApi as |C|>
87-
<C.Property @name="<[F].Button>" @type="yielded component">
88-
The `Button` component, yielded as contextual component inside the `"footer"` block of the ApplicationState. It exposes the same API as the [`Button` component](/components/button).
89-
</C.Property>
90-
<C.Property @name="<[F].Dropdown>" @type="yielded component">
91-
The `Dropdown` component, yielded as contextual component inside the `"footer"` block of the ApplicationState. It exposes the same API as the [`Dropdown` component](/components/dropdown).
92-
</C.Property>
93-
<C.Property @name="<[F].LinkStandalone>" @type="yielded component">
94-
The `Link::Standalone` component, yielded as contextual component inside the `"footer"` block of the ApplicationState. It exposes the same API as the [`Link::Standalone` component](/components/link/standalone).
95-
</C.Property>
96-
<C.Property @name="...attributes">
97-
This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering).
98-
</C.Property>
87+
<C.Property @name="<[F].Button>" @type="yielded component">
88+
The `Button` component, yielded as contextual component inside the `"footer"` block of the ApplicationState. It exposes the same API as the [`Button` component](/components/button).
89+
</C.Property>
90+
<C.Property @name="<[F].Dropdown>" @type="yielded component">
91+
The `Dropdown` component, yielded as contextual component inside the `"footer"` block of the ApplicationState. It exposes the same API as the [`Dropdown` component](/components/dropdown).
92+
</C.Property>
93+
<C.Property @name="<[F].LinkStandalone>" @type="yielded component">
94+
The `Link::Standalone` component, yielded as contextual component inside the `"footer"` block of the ApplicationState. It exposes the same API as the [`Link::Standalone` component](/components/link/standalone).
95+
</C.Property>
96+
<C.Property @name="...attributes">
97+
This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering).
98+
</C.Property>
9999
</Doc::ComponentApi>

0 commit comments

Comments
 (0)