Skip to content

Commit 565b74d

Browse files
author
Austin Green
committed
Remove outdated docs for buttons, dropdowns, and forms
1 parent 4e63962 commit 565b74d

File tree

3 files changed

+4
-28
lines changed

3 files changed

+4
-28
lines changed

packages/buttons/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,19 @@ npm install react react-dom prop-types styled-components @zendeskgarden/react-th
2222
*/
2323
import '@zendeskgarden/react-buttons/dist/styles.css';
2424

25-
import { Fragment } from 'react';
2625
import { ThemeProvider } from '@zendeskgarden/react-theming';
2726
import { Button } from '@zendeskgarden/react-buttons';
2827

2928
/**
3029
* Place a `ThemeProvider` at the root of your React application
3130
*/
3231
<ThemeProvider>
33-
<Fragment>
32+
<>
3433
<Button onClick={() => alert('clicked')}>Default</Button>
3534
<Button primary disabled>
3635
Disabled Primary button
3736
</Button>
38-
</Fragement>
37+
</>
3938
</ThemeProvider>;
4039
```
4140

packages/dropdowns/README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,9 @@ This package includes components relating to dropdowns in the
99
npm install @zendeskgarden/react-dropdowns
1010

1111
# Peer Dependencies - Also Required
12-
npm install react react-dom prop-types styled-components@3.4.10 @zendeskgarden/react-theming
12+
npm install react react-dom prop-types styled-components @zendeskgarden/react-theming
1313
```
1414

15-
## Requirements
16-
17-
This package uses several modern React features like [Context](https://reactjs.org/docs/context.html)
18-
and [Hooks](https://reactjs.org/docs/hooks-intro.html) to provide an enhanced component API.
19-
20-
These features require the following minimum versions of the dependencies:
21-
22-
- `react@^16.8.0`
23-
- `react-dom@^16.8.0`
24-
- `styled-components@^3.4.0`
25-
- `v4` will become available once all other packages are migrated
26-
2715
## Basic Example
2816

2917
```jsx static

packages/forms/README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,9 @@ This package includes components relating to native form fields in the
99
npm install @zendeskgarden/react-forms
1010

1111
# Peer Dependencies - Also Required
12-
npm install react react-dom prop-types styled-components@3.4.10 @zendeskgarden/react-theming
12+
npm install react react-dom prop-types styled-components @zendeskgarden/react-theming
1313
```
1414

15-
## Requirements
16-
17-
This package uses several modern React features like [Context](https://reactjs.org/docs/context.html)
18-
and [Hooks](https://reactjs.org/docs/hooks-intro.html) to provide an enhanced component API.
19-
20-
These features require the following minimum versions of the dependencies:
21-
22-
- `react@^16.8.0`
23-
- `react-dom@^16.8.0`
24-
- `styled-components@^4.2.0`
25-
2615
## Usage
2716

2817
```jsx static

0 commit comments

Comments
 (0)