This repository was archived by the owner on Jul 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,16 @@ import * as React from 'react';
24
24
import classnames from 'classnames' ;
25
25
26
26
export interface ListItemProps < T > extends React . HTMLProps < T > {
27
- className : string ;
28
- classNamesFromList : string [ ] ;
29
- attributesFromList : object ;
30
- childrenTabIndex : number ;
31
- tabIndex : number ;
32
- shouldFocus : boolean ;
33
- shouldFollowHref : boolean ;
34
- shouldToggleCheckbox : boolean ;
35
- tag : string ;
36
- children : React . ReactNode ;
27
+ className ? : string ;
28
+ classNamesFromList ? : string [ ] ;
29
+ attributesFromList ? : object ;
30
+ childrenTabIndex ? : number ;
31
+ tabIndex ? : number ;
32
+ shouldFocus ? : boolean ;
33
+ shouldFollowHref ? : boolean ;
34
+ shouldToggleCheckbox ? : boolean ;
35
+ tag ? : string ;
36
+ children ? : React . ReactNode ;
37
37
} ;
38
38
39
39
function isAnchorElement ( element : any ) : element is HTMLAnchorElement {
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export interface RippledComponentState {
51
51
52
52
// props to be injected by this HOC.
53
53
export interface InjectedProps < S , A = Element > extends RippledComponentProps < S > {
54
- initRipple : React . Ref < S > | ( ( surface : S | null , activator ?: A | null ) => void ) ;
54
+ initRipple ? : React . Ref < S > | ( ( surface : S | null , activator ?: A | null ) => void ) ;
55
55
}
56
56
57
57
type ActivateEventTypes < S >
You can’t perform that action at this time.
0 commit comments