Skip to content

Commit ad50bbf

Browse files
Some Typo fixes
1 parent c7c4c6d commit ad50bbf

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -357,10 +357,10 @@ import { SideBar } from 'react-chat-elements'
357357

358358
| prop | default | type | description |
359359
| ---- | ---- | ---- | ---- |
360-
| type | dark | string | popup visible |
361-
| top | false | function (component) | popup top component |
362-
| center | none | function (component) | popup center component |
363-
| bottom | none | function (component) | popup bottom component |
360+
| type | light | string | sidebar style type (eg: light, dark) |
361+
| top | none | component | sidebar top component |
362+
| center | none | component | sidebar center component |
363+
| bottom | none | component | sidebar bottom component |
364364

365365

366366
## Navbar Component
@@ -369,25 +369,25 @@ import { SideBar } from 'react-chat-elements'
369369
import { Navbar } from 'react-chat-elements'
370370

371371
<Navbar
372-
top={
373-
<div>'TOP' area</div>
372+
left={
373+
<div>'LEFT' area</div>
374374
}
375375
center={
376376
<div>'CENTER' area</div>
377377
}
378-
bottom={
379-
<div>'BOTTOM' area</div>
378+
right={
379+
<div>'RIGHT' area</div>
380380
}/>
381381
```
382382

383383
#### Navbar props
384384

385385
| prop | default | type | description |
386386
| ---- | ---- | ---- | ---- |
387-
| type | dark | string | popup visible |
388-
| top | false | function (component) | popup top component |
389-
| center | none | function (component) | popup center component |
390-
| bottom | none | function (component) | popup bottom component |
387+
| type | light | string | navbar style type (eg: light, dark) |
388+
| left | none | component | navbar left component |
389+
| center | none | component | navbar center component |
390+
| right | none | component | navbar right component |
391391

392392
## Dropdown Component
393393

0 commit comments

Comments
 (0)