# BuyOnSpaceworxButton

This component gives a styled button to go to the marketplace product pages Intend to use in the configuration panels and other place

## Installation

```tsx
import { BuyOnSpaceworxButton } from 'uxp/components';
```

## Signature

```tsx
const BuyOnSpaceworxButton: React.FunctionComponent<IBuyOnSpaceworxButtonProps>
```

## Examples

```tsx
<BuyOnSpaceworxButton productIds={['610b6a0583892800ab104e82']} />
```

## Properties

| Name       | Type                | Mandatory | Default Value | Example Value |
| ---------- | ------------------- | --------- | ------------- | ------------- |
| link       | string              | No        | -             | -             |
| productIds | string\[]           | No        | -             | -             |
| className  | string              | No        | -             | -             |
| styles     | React.CSSProperties | No        | -             | -             |

## Related Types

* [IBuyOnSpaceworxButtonProps](https://help.iviva.com/uxp/v5/additional-resources/types/ibuyonspaceworxbuttonprops)
