Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alexasselin008 opened this issue Jan 29, 2024 · 0 comments
Labels
hopper It'll be done in hopper only

Comments

@alexasselin008
Copy link
Member

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

@vicky-comeau vicky-comeau added the hopper It'll be done in hopper only label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hopper It'll be done in hopper only
Projects
None yet
Development

No branches or pull requests

2 participants