Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: change import/notice about import & add codeblocks #1442

Merged
merged 28 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
df7eb24
docs: change import/ notice about import
Topener Jan 2, 2024
9536eed
docs: linting
Topener Jan 2, 2024
88d459d
docs: use proper display name for icon docs
Topener Jan 2, 2024
269b291
docs: fix undefined description
Topener Jan 3, 2024
15f5c50
docs: fix undefined type issue
Topener Jan 3, 2024
90bcd61
docs: temporary remove cy for the sake of this pr
Topener Jan 3, 2024
2331a00
docs: add alertbar samples
Topener Jan 3, 2024
b437101
docs: temp update workflow
Topener Jan 3, 2024
d9b3afb
docs: change formatting
Topener Jan 3, 2024
4cd1944
docs: add alertstack documentation
Topener Jan 3, 2024
631b8f6
docs: name avatar properly
Topener Jan 3, 2024
2988ee4
docs: add useAlert to alertbar
Topener Feb 5, 2024
a607088
docs: linting
Topener Feb 5, 2024
1528c7e
docs: update alertbar notice
Topener Mar 4, 2024
cb8003d
docs: formatting
Topener Mar 4, 2024
4f656ca
docs: fix link
Topener Mar 4, 2024
3e49884
docs: improved ui docs
Topener Mar 4, 2024
91f5544
docs: formatting
Topener Mar 4, 2024
9a42840
docs: adjust calendar docs
Topener Mar 4, 2024
0960924
docs: more files updated with demos
Topener Mar 4, 2024
d481f98
docs: add developer portal to sidebar
Topener Apr 17, 2024
af65b07
docs: add code samples
Topener Apr 17, 2024
9563c86
docs: add more code samples
Topener Apr 17, 2024
32d9f7a
docs: add select sample
Topener Apr 17, 2024
15a43ed
docs: add transfer code samples
Topener Apr 17, 2024
68cc358
chore: formatting
Topener Apr 17, 2024
90ce56f
chore: undo workflow changes
Topener Apr 17, 2024
d02a84b
docs: updated jsx and removed redundant comment
Topener Apr 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions collections/forms/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

#### Usage

**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package.
To use `CheckboxFieldFF`, you can import the component from the `@dhis2/ui` library


```js
import { CheckboxFieldFF } from '@dhis2/ui-forms'
import { CheckboxFieldFF } from '@dhis2/ui'
```


Expand All @@ -27,11 +27,11 @@ import { CheckboxFieldFF } from '@dhis2/ui-forms'

#### Usage

**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package.
To use `FieldGroupFF`, you can import the component from the `@dhis2/ui` library


```js
import { FieldGroupFF } from '@dhis2/ui-forms'
import { FieldGroupFF } from '@dhis2/ui'
```


Expand All @@ -48,11 +48,11 @@ import { FieldGroupFF } from '@dhis2/ui-forms'

#### Usage

**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package.
To use `FileInputFieldFF`, you can import the component from the `@dhis2/ui` library


```js
import { FileInputFieldFF } from '@dhis2/ui-forms'
import { FileInputFieldFF } from '@dhis2/ui'
```


Expand All @@ -75,11 +75,11 @@ import { FileInputFieldFF } from '@dhis2/ui-forms'

#### Usage

**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package.
To use `InputFieldFF`, you can import the component from the `@dhis2/ui` library


```js
import { InputFieldFF } from '@dhis2/ui-forms'
import { InputFieldFF } from '@dhis2/ui'
```


Expand All @@ -102,11 +102,11 @@ import { InputFieldFF } from '@dhis2/ui-forms'

#### Usage

**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package.
To use `MultiSelectFieldFF`, you can import the component from the `@dhis2/ui` library


```js
import { MultiSelectFieldFF } from '@dhis2/ui-forms'
import { MultiSelectFieldFF } from '@dhis2/ui'
```


Expand All @@ -130,11 +130,11 @@ import { MultiSelectFieldFF } from '@dhis2/ui-forms'

#### Usage

**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package.
To use `RadioFieldFF`, you can import the component from the `@dhis2/ui` library


```js
import { RadioFieldFF } from '@dhis2/ui-forms'
import { RadioFieldFF } from '@dhis2/ui'
```


Expand All @@ -155,11 +155,11 @@ import { RadioFieldFF } from '@dhis2/ui-forms'

#### Usage

**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package.
To use `SingleSelectFieldFF`, you can import the component from the `@dhis2/ui` library


```js
import { SingleSelectFieldFF } from '@dhis2/ui-forms'
import { SingleSelectFieldFF } from '@dhis2/ui'
```


Expand All @@ -183,11 +183,11 @@ import { SingleSelectFieldFF } from '@dhis2/ui-forms'

#### Usage

**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package.
To use `SwitchFieldFF`, you can import the component from the `@dhis2/ui` library


```js
import { SwitchFieldFF } from '@dhis2/ui-forms'
import { SwitchFieldFF } from '@dhis2/ui'
```


Expand All @@ -208,11 +208,11 @@ import { SwitchFieldFF } from '@dhis2/ui-forms'

#### Usage

**Note**: If possible, import the component from the main UI (`@dhis2/ui`) package.
To use `TextAreaFieldFF`, you can import the component from the `@dhis2/ui` library


```js
import { TextAreaFieldFF } from '@dhis2/ui-forms'
import { TextAreaFieldFF } from '@dhis2/ui'
```


Expand Down
Loading
Loading