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

Commit

Permalink
fix(types): added Footer type (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelRionCervi committed Apr 7, 2021
1 parent fb65be8 commit e558afb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions packages/svelte-materialify/@types/Footer.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { SvelteComponent } from './shared';

interface FooterProps {
/** Classes added to the footer. */
class?: string;

/** Position the footer absolutely at the bottom of its parent container. */
absolute?: boolean;

/** Removes all default padding from the footer component. */
paddless?: boolean;

/** Prevent the footer from being as large as its container when the absolute prop is present. */
inset?: boolean;

/** Fix footer at the bottom of its parent container. */
fixed?: boolean;

/** Styles to add to the footer. */
style?: string;
}

declare class Footer extends SvelteComponent<FooterProps> { }

export default Footer;
1 change: 1 addition & 0 deletions packages/svelte-materialify/@types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export { default as Dialog } from './Dialog';
export { default as Divider } from './Divider';
export { default as ExpansionPanel } from './ExpansionPanel';
export { default as ExpansionPanels } from './ExpansionPanels';
export { default as Footer } from './Footer';
export { default as Icon } from './Icon';
export { default as Input } from './Input';
export { default as ItemGroup } from './ItemGroup';
Expand Down

1 comment on commit e558afb

@vercel
Copy link

@vercel vercel bot commented on e558afb Apr 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.