Skip to content

Commit

Permalink
Merge pull request #1633 from joelfmrodrigues/feature/update-docs-web…
Browse files Browse the repository at this point in the history
…inar-demo

Formatted doc file
  • Loading branch information
joelfmrodrigues committed Sep 6, 2023
2 parents 04f3e60 + 1a29588 commit 2c71374
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/documentation/docs/controls/AdaptiveCardDesignerHost.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ Here is an example of the control in action inside a Web Part:
* Check that you installed the `@pnp/spfx-controls-react` dependency. Check out the [getting started](../../#getting-started) page for more information about installing the dependency.

* In your component file, import the `AdaptiveCardDesignerHost` control as follows:

```Typescript
import { AdaptiveCardDesignerHost, HostContainer, BindingPreviewMode, Versions } from "@pnp/spfx-controls-react/lib/AdaptiveCardDesignerHost";
```

- Example on use the `AdaptiveCardDesignerHost` control with only required properties:

```Typescript
<AdaptiveCardDesignerHost
headerText="Adaptive Card Designer"
Expand All @@ -45,6 +47,7 @@ import { AdaptiveCardDesignerHost, HostContainer, BindingPreviewMode, Versions }
```

- Example on use the `AdaptiveCardDesignerHost` control with all properties:

```Typescript
<AdaptiveCardDesignerHost
headerText="Adaptive Card Designer"
Expand Down Expand Up @@ -72,6 +75,7 @@ import { AdaptiveCardDesignerHost, HostContainer, BindingPreviewMode, Versions }
snippets={snippets}
/>
```

## Implementation

The `AdaptiveCardDesignerHost` control can be configured with the following properties:
Expand Down

0 comments on commit 2c71374

Please sign in to comment.