refactor: playground updated for remove onSelect callback from SingleWeekPicker and adjust layout in app component
All checks were successful
Publish to npm / publish (push) Successful in 27s
All checks were successful
Publish to npm / publish (push) Successful in 27s
This commit is contained in:
parent
ca571736ab
commit
a96eb9528d
|
@ -11,7 +11,6 @@ body {
|
|||
align-items: center;
|
||||
.border {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
> * {
|
||||
background: #fff;
|
||||
|
|
|
@ -4,14 +4,13 @@ import './app.scss'
|
|||
|
||||
export default () => {
|
||||
|
||||
function onSelect(value) {
|
||||
alert(`You select ${value.weekYear} - ${value.weekNum}`)
|
||||
}
|
||||
|
||||
return (<div className='app'>
|
||||
<div className="border">
|
||||
<div>
|
||||
<SingleWeekPicker onSelect={onSelect} />
|
||||
<SingleWeekPicker />
|
||||
</div>
|
||||
<div>
|
||||
<SingleDatePicker />
|
||||
</div>
|
||||
</div>
|
||||
</div>)
|
||||
|
|
Loading…
Reference in New Issue
Block a user