ov-igloo-ui icon indicating copy to clipboard operation
ov-igloo-ui copied to clipboard

[Feature Request]: Allow the Calendar component to be used as a Standalone component

Open alexasselin008 opened this issue 1 year ago • 0 comments

Component that this feature request involves

DatePicker

Is your feature request related to a problem? Please describe

No response

Describe the solution you'd like

import Calendar from "@igloo-ui/calendar";
import Button from "@igloo-ui/button";
import Dropdown from "@igloo-ui/dropdown";


function MyComponent({date, handleChange ) { 
    return (
            <Dropdown
                content={
                    <Calendar
                        value={date || null}
                        onChange={handleChange}
                    />
                }
                size="medium"
            >
                 <Button>Open Calendar</Button>
            </Dropdown>
    );
}


Describe alternatives you've considered

No response

Additional context

No response

alexasselin008 avatar Jan 29 '24 15:01 alexasselin008