From fd8ac1524b760d7aabb59160903bf07a576d39b0 Mon Sep 17 00:00:00 2001 From: Gabriel Silva Date: Tue, 29 Nov 2022 09:27:35 -0300 Subject: [PATCH 1/2] chore: add popover props as option --- src/components/Inputs/DateRangePicker/DateRangePicker.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Inputs/DateRangePicker/DateRangePicker.tsx b/src/components/Inputs/DateRangePicker/DateRangePicker.tsx index fc1bf69..d70e477 100644 --- a/src/components/Inputs/DateRangePicker/DateRangePicker.tsx +++ b/src/components/Inputs/DateRangePicker/DateRangePicker.tsx @@ -1,5 +1,5 @@ +import { Popover, PopoverProps } from '@mui/material'; import { DesktopDatePickerProps } from '@mui/x-date-pickers'; -import { Popover } from '@mui/material'; import { observer } from 'mobx-react-lite'; import { useRef, useState } from 'react'; @@ -15,12 +15,14 @@ export type DateRangePickerProps = Omit< onChange: (value: DateRange) => void; label?: string; value: DateRange; + popoverProps: Omit; }; function DateRangePicker({ value, label, onChange, + popoverProps, ...props }: DateRangePickerProps) { const [store] = useState(() => new DateRangePickerStore(value)); @@ -36,6 +38,7 @@ function DateRangePicker({ onChange={onChange} /> store.setOpen(false)} From 0e11eb8588d30b0e437b3104d0e4176a6fcf4ce6 Mon Sep 17 00:00:00 2001 From: Gabriel Silva Date: Tue, 29 Nov 2022 09:35:53 -0300 Subject: [PATCH 2/2] build: 0.5.16 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1b455ce..32fa4dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@euk-labs/componentz", - "version": "0.5.15", + "version": "0.5.16", "types": "./lib/types/index.d.ts", "main": "./lib/cjs/index.js", "exports": {