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

How to remove the footer #80

Closed
bodzilla opened this issue Mar 9, 2021 · 3 comments
Closed

How to remove the footer #80

bodzilla opened this issue Mar 9, 2021 · 3 comments

Comments

@bodzilla
Copy link

bodzilla commented Mar 9, 2021

How would one remove the footer which shows the below content:

Ant Design ProAnt Design
Copyright 2019 蚂蚁金服体验技术部出品

@ElderJames
Copy link
Member

Thanks for contacting us @bodzilla , you can set your own footer with FooterRender template.

<AntDesign.Pro.Layout.BasicLayout 
    Logo="@("https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg")"
    MenuData="MenuData">
    <RightContentRender>
        <AntDesign.Pro.Template.Components.RightContent />
    </RightContentRender>
    <ChildContent>
        @Body
    </ChildContent>
    <FooterRender></FooterRender>  // <--- this line
</AntDesign.Pro.Layout.BasicLayout>
<SettingDrawer />

@bodzilla
Copy link
Author

Thanks for contacting us @bodzilla , you can set your own footer with FooterRender template.

<AntDesign.Pro.Layout.BasicLayout 
    Logo="@("https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg")"
    MenuData="MenuData">
    <RightContentRender>
        <AntDesign.Pro.Template.Components.RightContent />
    </RightContentRender>
    <ChildContent>
        @Body
    </ChildContent>
    <FooterRender></FooterRender>  // <--- this line
</AntDesign.Pro.Layout.BasicLayout>
<SettingDrawer />

Thank you very much for this. I couldn't find any documentation on this at all so appreciate your help! :)

@ElderJames
Copy link
Member

Yes, we would add a documentation later ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants