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
3535
3636export interface TopAppBarProps {
3737 actionItems ?: React . ReactElement < any > [ ] ;
38- className : string ;
39- dense : boolean ;
40- fixed : boolean ;
38+ className ? : string ;
39+ dense ? : boolean ;
40+ fixed ? : boolean ;
4141 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 ;
4747}
4848
4949interface TopAppBarState {
@@ -53,11 +53,7 @@ interface TopAppBarState {
5353
5454type Props = TopAppBarProps & React . HTMLProps < HTMLElement > ;
5555export 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+
6157export default class TopAppBar extends React . Component <
6258 Props ,
6359 TopAppBarState
You can’t perform that action at this time.
0 commit comments