Skip to content

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

@alexasselin008

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    hopperIt'll be done in hopper only

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions