Skip to content

Commit

Permalink
Added share support for twitter mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
sir-radar committed Mar 5, 2024
1 parent f25d7e9 commit b410d51
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,18 +250,18 @@ import { TwitterShareButton, TwitterIcon } from 'next-share';

#### 📖 TwitterShareButton Props

| Props | Type | Default | Description | Required |
| :----------- | :------ | :------ | :------------------------------------------------- | :------- |
| children | node | | React component, HTML element or string. | |
| url | string | | The URL of the shared page. | |
| title | string | | The title of the shared page. | |
| via | string | | | |
| hashtags | array | | | |
| related | array | | | |
| isMobile | boolean | false | Supports twitter share for mobile if set to `true` | |
| windowWidth | number | 550 | Opened window width. | |
| windowHeight | number | 400 | Opened window height. | |
| blankTarget | boolean | false | Open share window in a new tab if set to `true`. | |
| Props | Type | Default | Description | Required |
| :--- | :--- | :--- | :--- | :--- |
| children | node | | React component, HTML element or string. ||
| url | string | | The URL of the shared page. ||
| title | string | | The title of the shared page. ||
| via | string | | ||
| hashtags | array | | ||
| related | array | | ||
| isMobile | boolean | false | Supports twitter share for mobile if set to `true` ||
| windowWidth | number | 550 | Opened window width. ||
| windowHeight | number | 400 | Opened window height. ||
| blankTarget | boolean | false | Open share window in a new tab if set to `true`. ||

#### 📖 [TwitterIcon Props](https://github.com/Bunlong/next-share#-icons-props)

Expand Down

0 comments on commit b410d51

Please sign in to comment.