28 lines
992 B
Markdown
28 lines
992 B
Markdown
|
# Buttons: SocialButton
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
import { SocialButton } from 'asc-web-components';
|
||
|
|
||
|
```
|
||
|
|
||
|
#### Description
|
||
|
|
||
|
Button is used for sign up with help social networks.
|
||
|
|
||
|
#### Usage
|
||
|
|
||
|
```js
|
||
|
<SocialButton icon={icon} label={label}/>
|
||
|
```
|
||
|
|
||
|
#### Properties
|
||
|
|
||
|
| Props | Type | Required | Values | Default | Description |
|
||
|
| ------------------ | -------- | :------: | --------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||
|
| `label` | `string` | - | - | - | Button text |
|
||
|
| `iconName` | `string` | - | - | SocialButtonGoogleIcon | Icon of button |
|
||
|
|
||
|
|