+ { __( 'Visibility:' ) }{ ' ' }
+
- >
- }
- >
- { ! canEdit && (
-
- { __(
- 'You do not have permission to change the visibility.'
+ { canEdit && (
+ (
+
+ ) }
+ renderContent={ () => (
+
+ ) }
+ />
) }
-
- ) }
- { canEdit &&
}
-
- ) }
- />
+
+ { ! canEdit && (
+
+ { __(
+ 'You do not have permission to change the visibility.'
+ ) }
+
+ ) }
+ >
+ ) }
+ />
+