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

Allow breakpoints in <a-layout> Component #2555

Closed
1 task done
dev7ch opened this issue Jul 13, 2020 · 2 comments
Closed
1 task done

Allow breakpoints in <a-layout> Component #2555

dev7ch opened this issue Jul 13, 2020 · 2 comments

Comments

@dev7ch
Copy link

dev7ch commented Jul 13, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

Currently only the Layout.Sider support to set and listen on breakpoint changes, it would be nice to have this options on more components, e.g. like Layout.
This will speed up development and usability imo.

What does the proposed API look like?

export declare class Layout extends AntdComponent {
static Header: typeof LayoutHeader;
static Content: typeof LayoutContent;
static Footer: typeof LayoutFooter;
static Sider: typeof LayoutSider;

// ... as it is now

breakpoint: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
}

@dev7ch dev7ch changed the title Allow breakoints in <a-layout> Component Allow breakpoints in <a-layout> Component Jul 13, 2020
@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant