@coveord/plasma-mantine
Version:
A Plasma flavoured Mantine theme
33 lines • 1.31 kB
TypeScript
import { Factory, GroupProps, StylesApiProps } from '@mantine/core';
import { ReactNode } from 'react';
export interface StickyFooterProps extends Omit<GroupProps, 'classNames' | 'styles' | 'vars' | 'variant'>, StylesApiProps<StickyFooterFactory> {
/**
* Whether a border is render on top of the footer
*/
borderTop?: boolean;
/**
* Footer's children, usually buttons
*/
children?: ReactNode;
/**
* Use variant 'modal-footer' when rendering the `StickyFooter` inside `Modal`.
*
* The 'modal-footer' removes the modal's default padding so that the footer properly hugs the bottom of the modal.
* It also adds a border on top of the footer.
*
* @deprecated Use Modal.Footer from @coveord/plasma-mantine/Modal for modal footers. For other cases, the 'default' variant should suffice.
*/
variant?: 'default' | 'modal-footer';
}
export type StickyFooterStylesNames = 'root';
export type StickyFooterFactory = Factory<{
props: StickyFooterProps;
ref: HTMLDivElement;
stylesNames: StickyFooterStylesNames;
}>;
export declare const StickyFooter: import("@mantine/core").MantineComponent<{
props: StickyFooterProps;
ref: HTMLDivElement;
stylesNames: StickyFooterStylesNames;
}>;
//# sourceMappingURL=StickyFooter.d.ts.map