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

Commit 50a95aa

Browse files
feat(typing): subheader
1 parent ba92ccf commit 50a95aa

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { SvelteComponent } from './shared';
2+
3+
export interface SubheaderProps {
4+
/** Classes to add to the subheader. */
5+
class?: string;
6+
/** Styles to add to the subheader. */
7+
style?: string;
8+
/** Whether to move the subheader to the right. */
9+
inset?: boolean;
10+
}
11+
12+
declare class Subheader extends SvelteComponent<SubheaderProps> {}
13+
14+
export default Subheader;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export { default as Row } from './Row';
4040
export { default as Select } from './Select';
4141
export { default as Slider } from './Slider';
4242
export { default as Snackbar } from './Snackbar';
43+
export { default as Subheader } from './Subheader';
4344
export { default as Switch } from './Switch';
4445
export { default as Textarea } from './Textarea';
4546
export { default as TextField } from './TextField';

0 commit comments

Comments
 (0)