Skip to content

Commit 4456e30

Browse files
author
Nicolas Garnier
committed
Release v1.1.7
1 parent 6740d40 commit 4456e30

File tree

9 files changed

+12
-21
lines changed

9 files changed

+12
-21
lines changed

dist/FirebaseAuth.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/FirebaseAuth.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -258,25 +258,17 @@ If you are using CSS modules in your app you need to handle the CSS files in `/n
258258

259259
## Styling
260260

261-
To change the styling of the `FirebaseAuth` or the `StyledFirebaseAuth` widget you can override some of its CSS. You can import a CSS that will be included globally in your packed application. For instance create a `firebaseui-overrides.global.css` file and import it in your app:
261+
To change the styling of the `FirebaseAuth` or the `StyledFirebaseAuth` widget you can override some of its CSS. To do this, import a CSS that will be included in your packed application. For instance create a `firebaseui-styling.global.css` file and import it in your app:
262262

263263
```js
264-
import './firebaseui-overrides.global.css'; // Import globally.
264+
import './firebaseui-styling.global.css'; // Import globally. Not with CSS modules.
265265
```
266266

267-
> Note: If you are using the "With ExtractTextPlugin and CSS modules" Webpack build rule above, the `.global.css` suffixe will make sure the CSS file is imported globally and not ran through modules support.
267+
> Note: If you are using the [With ExtractTextPlugin and CSS modules](#with-extracttextplugin-and-css-modules) Webpack build rule above, the `.global.css` suffix will make sure the CSS file is imported globally and not ran through modules support.
268268
269269
If you would like to see an example of styling, have a look at the [example app](./example).
270270

271-
272-
## Using multiple instances
273-
274-
In the case where you would need to load multiple instances of `FirebaseAuth` at the same time you need to set them up with a different ID using the `elementId` attribute. For instance:
275-
276-
```js
277-
<StyledFirebaseAuth elementId="auth_1" uiConfig={this.uiConfig} firebaseAuth={firebase.auth()}/>
278-
<StyledFirebaseAuth elementId="auth_2" uiConfig={this.otherUiConfig} firebaseAuth={firebase.auth()}/>
279-
```
271+
Alternatively you can include the styling in a `<style>` tag in your application's markup.
280272

281273

282274
## Contributing

dist/StyledFirebaseAuth.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/StyledFirebaseAuth.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-firebaseui",
3-
"version": "1.1.6",
3+
"version": "1.1.7",
44
"description": "React wrapper for firebaseui: Javascript library for customizable UI on top of Firebase SDK",
55
"files": [
66
"FirebaseAuth.js",

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"firebaseui": "^2.6.0",
1111
"react": "15.6.1",
1212
"react-dom": "15.6.1",
13-
"react-firebaseui": "^1.1.5"
13+
"react-firebaseui": "^1.1.7"
1414
},
1515
"devDependencies": {
1616
"babel-cli": "6.24.1",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-firebaseui",
3-
"version": "1.1.6",
3+
"version": "1.1.7",
44
"description": "React wrapper for firebaseui: Javascript library for customizable UI on top of Firebase SDK",
55
"files": [
66
"FirebaseAuth.js",

0 commit comments

Comments
 (0)