-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Countdownbar rename and preview working
- Loading branch information
1 parent
de16866
commit cb8549a
Showing
4 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom/client'; | ||
import { DateDropdownBarWidgetProps, DateDropdownBar } from './date-countdown-bar.js'; | ||
import { DateCountdownBarWidgetProps, DateCountdownBar } from './date-countdown-bar.js'; | ||
|
||
const config: DateDropdownBarWidgetProps = { | ||
const config: DateCountdownBarWidgetProps = { | ||
date: '27-01-2024', | ||
beforeText: 'Het is nog niet geweest', | ||
afterText:"Het is al geweest" | ||
}; | ||
|
||
ReactDOM.createRoot(document.getElementById('root')!).render( | ||
<React.StrictMode> | ||
<DateDropdownBar {...config} /> | ||
<DateCountdownBar {...config} /> | ||
</React.StrictMode> | ||
); |