Skip to content

Commit

Permalink
Improved: document to add some screenshot and move the images in assets(
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Mar 27, 2024
1 parent 9c6ef28 commit 248a104
Show file tree
Hide file tree
Showing 3 changed files 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 @@ -39,15 +39,15 @@ TimeZoneSwitcher provides support to select the timeZone for the application. Th
### Usage
```js
<DxpTimeZoneSwitcher />

![DxpTimeZoneSwitcher](image.png)
```
![DxpTimeZoneSwitcher](image.png)

#### Change Date-Time format
For the possible values of dateTimeFormat, check <a target="_blank" rel="noopener noreferrer" href="https://moment.github.io/luxon/#/formatting?id=table-of-tokens">here</a>.
### Change Date-Time format
You can pass a specific token string in the `dateTimeFormat` to display the timeZone as per the app. For the possible values of dateTimeFormat, check <a target="_blank" rel="noopener noreferrer" href="https://moment.github.io/luxon/#/formatting?id=table-of-tokens">here</a>.
```js
<DxpTimeZoneSwitcher dateTimeFormat="TTT" />
```
![DxpTimeZoneSwitcher with custom dateTime format](image-1.png)

### Slots
No slots are available for this component.
Expand Down
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 248a104

Please sign in to comment.