Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Commit e558afb

Browse files
fix(types): added Footer type (#213)
1 parent fb65be8 commit e558afb

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { SvelteComponent } from './shared';
2+
3+
interface FooterProps {
4+
/** Classes added to the footer. */
5+
class?: string;
6+
7+
/** Position the footer absolutely at the bottom of its parent container. */
8+
absolute?: boolean;
9+
10+
/** Removes all default padding from the footer component. */
11+
paddless?: boolean;
12+
13+
/** Prevent the footer from being as large as its container when the absolute prop is present. */
14+
inset?: boolean;
15+
16+
/** Fix footer at the bottom of its parent container. */
17+
fixed?: boolean;
18+
19+
/** Styles to add to the footer. */
20+
style?: string;
21+
}
22+
23+
declare class Footer extends SvelteComponent<FooterProps> { }
24+
25+
export default Footer;

packages/svelte-materialify/@types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export { default as Dialog } from './Dialog';
2222
export { default as Divider } from './Divider';
2323
export { default as ExpansionPanel } from './ExpansionPanel';
2424
export { default as ExpansionPanels } from './ExpansionPanels';
25+
export { default as Footer } from './Footer';
2526
export { default as Icon } from './Icon';
2627
export { default as Input } from './Input';
2728
export { default as ItemGroup } from './ItemGroup';

0 commit comments

Comments
 (0)