This repository was archived by the owner on Jul 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ export type MDCTopAppBarFoundationTypes
35
35
36
36
export interface TopAppBarProps {
37
37
actionItems ?: React . ReactElement < any > [ ] ;
38
- className : string ;
39
- dense : boolean ;
40
- fixed : boolean ;
38
+ className ? : string ;
39
+ dense ? : boolean ;
40
+ fixed ? : boolean ;
41
41
navigationIcon ?: React . ReactElement < any > ;
42
- prominent : boolean ;
43
- short : boolean ;
44
- shortCollapsed : boolean ;
45
- style : React . CSSProperties ;
46
- title : React . ReactNode ;
42
+ prominent ? : boolean ;
43
+ short ? : boolean ;
44
+ shortCollapsed ? : boolean ;
45
+ style ? : React . CSSProperties ;
46
+ title ? : React . ReactNode ;
47
47
}
48
48
49
49
interface TopAppBarState {
@@ -53,11 +53,7 @@ interface TopAppBarState {
53
53
54
54
type Props = TopAppBarProps & React . HTMLProps < HTMLElement > ;
55
55
export type VariantType = 'dense' | 'fixed' | 'prominent' | 'short' | 'shortCollapsed' ;
56
- // function isElement(element: any): element is React.ReactElement<any> {
57
- // return typeof element !== 'string' ||
58
- // typeof element !== 'number' ||
59
- // typeof element !== 'boolean';
60
- // }
56
+
61
57
export default class TopAppBar extends React . Component <
62
58
Props ,
63
59
TopAppBarState
You can’t perform that action at this time.
0 commit comments