Skip to content

Commit

Permalink
docs: update playground
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed Jun 23, 2024
1 parent 120d78d commit 115e8e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 3 additions & 4 deletions website/src/pages/playground.module.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
.root {
margin: 1rem;
.playground {
}

.root h1 {
.playground h1 {
font-size: 2rem;
margin: 1rem auto;
text-align: center;
Expand Down Expand Up @@ -63,5 +62,5 @@
}

.browserWindow {
margin: 2rem 0;
margin: 2rem;
}
4 changes: 3 additions & 1 deletion website/src/pages/playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function Playground() {

return (
<Layout>
<div className={styles.root}>
<div className={styles.playground}>
<h1>DayPicker v9 Playground</h1>
<form className={styles.form}>
<fieldset>
Expand Down Expand Up @@ -290,6 +290,7 @@ export default function Playground() {
mode
});
}}
value={props.mode}
>
<option></option>
<option value="single">single</option>
Expand All @@ -301,6 +302,7 @@ export default function Playground() {
<label>
<input
type="checkbox"
checked={props.required}
name="required"
onChange={(e) => {
setSelected(undefined);
Expand Down

0 comments on commit 115e8e4

Please sign in to comment.