Skip to content

Commit

Permalink
docs: update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
paanSinghCoder committed Oct 10, 2022
1 parent 4fdba25 commit 3309048
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ ReactDOM.render(<HelloMessage name="Taylor" />, document.getElementById('contain

## Pass config (optional)

You may customize Outfront's behaviour by optionally passing config as an object:
Customize Outfront's behaviour by optionally passing config as an object:

```jsx
...

const config = {
defaultOpen: true, // true/false (default = false)
fullSize: true, // true/false (default = false)
opacity: 10 // 1-10 (default = 10)
defaultOpen: true, // true/false (default = false) - Console will be open by default on page load.
fullSize: true, // true/false (default = false) - Console will go full-screen (almost).
opacity: 10 // 1-10 (default = 10) - Console opacity.
}

outfront(config) // Pass config object to outfront.
Expand Down

0 comments on commit 3309048

Please sign in to comment.