File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Grid } from '../../base' ;
33import { Pattern } from '../CustomCatalog/CustomCard' ;
4+ import { VIEW_VISIBILITY } from '../VisibilityChipMenu/VisibilityChipMenu' ;
45import ContentClassInfo from './ContentClassInfo' ;
56import MetricsDisplay from './MetricsDisplay' ;
67import PatternInfo from './PatternInfo' ;
@@ -26,7 +27,7 @@ interface OverviewSectionProps {
2627 showShareAction : boolean ;
2728 handleShare : ( ) => void ;
2829 isVisibilityEnabled : boolean ;
29- handleVisibilityChange : ( ) => void ;
30+ handleVisibilityChange : ( visibility : VIEW_VISIBILITY ) => void ;
3031}
3132
3233const OverviewSection : React . FC < OverviewSectionProps > = ( {
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Pattern } from '../CustomCatalog/CustomCard' ;
3+ import { VIEW_VISIBILITY } from '../VisibilityChipMenu/VisibilityChipMenu' ;
34import CaveatsSection from './CaveatsSection' ;
45import OverviewSection from './OverviewSection' ;
56import RelatedDesigns , { PatternsPerUser } from './RelatedDesigns' ;
@@ -29,7 +30,7 @@ interface RightPanelProps {
2930 showShareAction : boolean ;
3031 handleShare : ( ) => void ;
3132 isVisibilityEnabled : boolean ;
32- handleVisibilityChange : ( ) => void ;
33+ handleVisibilityChange : ( visibility : VIEW_VISIBILITY ) => void ;
3334}
3435
3536const RightPanel : React . FC < RightPanelProps > = ( {
You can’t perform that action at this time.
0 commit comments