Skip to content

Commit ef2ea07

Browse files
committed
Prettier
1 parent b606fa5 commit ef2ea07

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

.prettierrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"tabWidth": 4,
33
"singleQuote": true,
4-
"trailingComma": "all"
4+
"trailingComma": "all",
5+
"proseWrap": "always"
56
}

README.md

+16-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
[react-accessible-accordion](https://springload.github.io/react-accessible-accordion/) [![npm](https://img.shields.io/npm/v/react-accessible-accordion.svg?style=flat-square)](https://www.npmjs.com/package/react-accessible-accordion) [![Build Status](https://travis-ci.org/springload/react-accessible-accordion.svg?branch=master)](https://travis-ci.org/springload/react-accessible-accordion) [![Coverage Status](https://coveralls.io/repos/github/springload/react-accessible-accordion/badge.svg)](https://coveralls.io/github/springload/react-accessible-accordion) [![Dependency Status](https://david-dm.org/springload/react-accessible-accordion.svg?style=flat-square)](https://david-dm.org/springload/react-accessible-accordion) [![devDependency Status](https://david-dm.org/springload/react-accessible-accordion/dev-status.svg?style=flat-square)](https://david-dm.org/springload/react-accessible-accordion#info=devDependencies)
1+
[react-accessible-accordion](https://springload.github.io/react-accessible-accordion/)
2+
[![npm](https://img.shields.io/npm/v/react-accessible-accordion.svg?style=flat-square)](https://www.npmjs.com/package/react-accessible-accordion)
3+
[![Build Status](https://travis-ci.org/springload/react-accessible-accordion.svg?branch=master)](https://travis-ci.org/springload/react-accessible-accordion)
4+
[![Coverage Status](https://coveralls.io/repos/github/springload/react-accessible-accordion/badge.svg)](https://coveralls.io/github/springload/react-accessible-accordion)
5+
[![Dependency Status](https://david-dm.org/springload/react-accessible-accordion.svg?style=flat-square)](https://david-dm.org/springload/react-accessible-accordion)
6+
[![devDependency Status](https://david-dm.org/springload/react-accessible-accordion/dev-status.svg?style=flat-square)](https://david-dm.org/springload/react-accessible-accordion#info=devDependencies)
27
[![Accessibility status](https://img.shields.io/badge/a11y-tested-brightgreen.svg)](http://wave.webaim.org/report#/https://springload.github.io/react-accessible-accordion/)
38
=========
49

@@ -14,7 +19,8 @@ First, grab the package from npm:
1419
npm install --save react-accessible-accordion
1520
```
1621

17-
Then, import the editor and use it in your code. Here is a [basic example](https://springload.github.io/react-accessible-accordion/):
22+
Then, import the editor and use it in your code. Here is a
23+
[basic example](https://springload.github.io/react-accessible-accordion/):
1824

1925
```jsx
2026
import React from 'react';
@@ -66,7 +72,8 @@ export default function Example() {
6672
6773
### Styles
6874
69-
We strongly encourage you to write your own styles for your accordions, but we've published these two starter stylesheets to help you get up and running:
75+
We strongly encourage you to write your own styles for your accordions, but
76+
we've published these two starter stylesheets to help you get up and running:
7077
7178
```js
7279
// 'Minimal' theme - hide/show the AccordionBody component:
@@ -76,7 +83,8 @@ import 'react-accessible-accordion/dist/minimal-example.css';
7683
import 'react-accessible-accordion/dist/fancy-example.css';
7784
```
7885
79-
We recommend that you copy them into your own app and modify them to suit your needs, particularly if you're using your own `className`s.
86+
We recommend that you copy them into your own app and modify them to suit your
87+
needs, particularly if you're using your own `className`s.
8088
8189
## Component API
8290
@@ -96,7 +104,8 @@ Class(es) to apply to element.
96104
97105
#### onChange : `(uuid[]) => void` [*optional*]
98106
99-
Callback which is invoked when items are expanded or collapsed. Gets passed `uuid`s of the currently expanded `AccordionItem`s.
107+
Callback which is invoked when items are expanded or collapsed. Gets passed
108+
`uuid`s of the currently expanded `AccordionItem`s.
100109
101110
---
102111
@@ -150,7 +159,8 @@ Class(es) to append when item is expanded.
150159
151160
### resetNextUuid : `(): void`
152161
153-
Resets the internal counter for Accordion items' identifiers (including `id` attributes). For use in test suites and isomorphic frameworks.
162+
Resets the internal counter for Accordion items' identifiers (including `id`
163+
attributes). For use in test suites and isomorphic frameworks.
154164
155165
---
156166

0 commit comments

Comments
 (0)