Skip to content

Commit d5b1068

Browse files
committed
Add popoverDirection attribute on the playground
1 parent 2f775fc commit d5b1068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export default function Playground() {
1313
const [useRange, setUseRange] = useState(true);
1414
const [showFooter, setShowFooter] = useState(false);
1515
const [showShortcuts, setShowShortcuts] = useState(false);
16-
const [configs, setConfigs] = useState(null);
1716
const [asSingle, setAsSingle] = useState(false);
1817
const [placeholder, setPlaceholder] = useState("");
1918
const [separator, setSeparator] = useState("~");
@@ -110,6 +109,7 @@ export default function Playground() {
110109
toggleIcon={isEmpty => {
111110
return isEmpty ? "Select Date" : "Clear";
112111
}}
112+
popoverDirection={"down"}
113113
// classNames={{
114114
// input: ({ disabled, readOnly, className }) => {
115115
// if (disabled) {

0 commit comments

Comments
 (0)