Skip to content

Commit d57e860

Browse files
Merge pull request #18 from kristof0425/fix/typo-in-readme
fix(README): correct typo
2 parents 7f8a421 + 98ac6c3 commit d57e860

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ In your app:
3333
There are two similar components that allow you to add FirebaseUI auth to your application: `FirebaseAuth` and `StyledFirebaseAuth`.
3434
- `FirebaseAuth` has a reference to the FirebaseUI CSS file (it `requires` the CSS).
3535
- `StyledFirebaseAuth` is bundled with the CSS directly.
36-
37-
For simplicity you should use `StyledFirebaseAuth` and for potential better performances and build sizes you can use `FirebaseAuth`. `FirebaseAuth` is meant to be used with a CSS/style loader as part of yor webpack built configuration. See the [Packing your app](#packing-your-app) section.
36+
37+
For simplicity you should use `StyledFirebaseAuth` and for potential better performances and build sizes you can use `FirebaseAuth`. `FirebaseAuth` is meant to be used with a CSS/style loader as part of your webpack built configuration. See the [Packing your app](#packing-your-app) section.
3838

3939

4040
### Using `StyledFirebaseAuth` with a redirect
@@ -100,12 +100,12 @@ const config = {
100100
firebase.initializeApp(config);
101101

102102
class SignInScreen extends React.Component {
103-
103+
104104
// The component's Local state.
105105
state = {
106106
signedIn: false // Local signed-in state.
107107
};
108-
108+
109109
// Configure FirebaseUI.
110110
uiConfig = {
111111
// Popup signin flow rather than redirect flow.
@@ -127,7 +127,7 @@ class SignInScreen extends React.Component {
127127
(user) => this.setState({signedIn: !!user})
128128
);
129129
}
130-
130+
131131
render() {
132132
if (!this.state.signedIn) {
133133
return (
@@ -261,8 +261,8 @@ If you are using CSS modules in your app you need to handle the CSS files in `/n
261261
}
262262
```
263263

264-
## Styling
265-
264+
## Styling
265+
266266
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:
267267

268268
```js

0 commit comments

Comments
 (0)