File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { Grid } from '../../base' ;
3
3
import { Pattern } from '../CustomCatalog/CustomCard' ;
4
+ import { VIEW_VISIBILITY } from '../VisibilityChipMenu/VisibilityChipMenu' ;
4
5
import ContentClassInfo from './ContentClassInfo' ;
5
6
import MetricsDisplay from './MetricsDisplay' ;
6
7
import PatternInfo from './PatternInfo' ;
@@ -26,7 +27,7 @@ interface OverviewSectionProps {
26
27
showShareAction : boolean ;
27
28
handleShare : ( ) => void ;
28
29
isVisibilityEnabled : boolean ;
29
- handleVisibilityChange : ( ) => void ;
30
+ handleVisibilityChange : ( visibility : VIEW_VISIBILITY ) => void ;
30
31
}
31
32
32
33
const OverviewSection : React . FC < OverviewSectionProps > = ( {
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { Pattern } from '../CustomCatalog/CustomCard' ;
3
+ import { VIEW_VISIBILITY } from '../VisibilityChipMenu/VisibilityChipMenu' ;
3
4
import CaveatsSection from './CaveatsSection' ;
4
5
import OverviewSection from './OverviewSection' ;
5
6
import RelatedDesigns , { PatternsPerUser } from './RelatedDesigns' ;
@@ -29,7 +30,7 @@ interface RightPanelProps {
29
30
showShareAction : boolean ;
30
31
handleShare : ( ) => void ;
31
32
isVisibilityEnabled : boolean ;
32
- handleVisibilityChange : ( ) => void ;
33
+ handleVisibilityChange : ( visibility : VIEW_VISIBILITY ) => void ;
33
34
}
34
35
35
36
const RightPanel : React . FC < RightPanelProps > = ( {
You can’t perform that action at this time.
0 commit comments