File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed
Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Button } from '../ui/button' ;
33import { Eye , EyeOff } from 'lucide-react' ;
4+ import { Mail } from 'lucide-react' ;
45
56interface PrivacySelectorProps {
67 isPublic : boolean ;
@@ -24,7 +25,8 @@ export const PrivacySelector: React.FC<PrivacySelectorProps> = ({
2425 onClick = { ( ) => onChange ( false ) }
2526 >
2627 < div className = 'flex items-center space-x-3' >
27- < EyeOff className = 'w-5 h-5' />
28+ { /* <EyeOff className='w-5 h-5' /> */ }
29+ < Mail className = 'w-5 h-5 text-gray-500' />
2830 < div className = 'text-left' >
2931 < div className = 'font-medium' > Private</ div >
3032 < div className = 'text-sm text-muted-foreground' >
@@ -41,7 +43,8 @@ export const PrivacySelector: React.FC<PrivacySelectorProps> = ({
4143 onClick = { ( ) => onChange ( true ) }
4244 >
4345 < div className = 'flex items-center space-x-3' >
44- < Eye className = 'w-5 h-5' />
46+ { /* <Eye className='w-5 h-5' /> */ }
47+ < Mail className = 'w-5 h-5 text-green-500' />
4548 < div className = 'text-left' >
4649 < div className = 'font-medium' > Public</ div >
4750 < div className = 'text-sm text-muted-foreground' >
Original file line number Diff line number Diff line change @@ -7,12 +7,13 @@ import {
77 Trash2 ,
88 Edit2 ,
99 Save ,
10- Eye ,
11- EyeOff ,
10+ // Eye,
11+ // EyeOff,
1212 MoreVertical ,
1313 RotateCcw ,
1414 CheckCircle2 ,
1515 XCircle ,
16+ Mail ,
1617} from 'lucide-react' ;
1718import type { Entry } from '../../../types/entries' ;
1819import {
@@ -97,7 +98,8 @@ const StatementItem: React.FC<StatementItemProps> = ({
9798 : 'bg-gray-50 text-gray-500'
9899 } hover:bg-opacity-75 rounded-md px-3 py-2`}
99100 >
100- { statement . isPublic ? < Eye size = { 16 } /> : < EyeOff size = { 16 } /> }
101+ { /* {statement.isPublic ? <Eye size={16} /> : <EyeOff size={16} /> } */ }
102+ { statement . isPublic ? < Mail size = { 16 } /> : < Mail size = { 16 } /> }
101103 </ Button >
102104 < div className = 'flex flex-1 items-center space-x-2' >
103105 { /* Subject */ }
@@ -196,7 +198,8 @@ const StatementItem: React.FC<StatementItemProps> = ({
196198 statement . isPublic ? 'text-green-500' : 'text-gray-400'
197199 } `}
198200 >
199- { statement . isPublic ? < Eye size = { 16 } /> : < EyeOff size = { 16 } /> }
201+ { /* {statement.isPublic ? <Eye size={16} /> : <EyeOff size={16} /> } */ }
202+ { statement . isPublic ? < Mail size = { 16 } /> : < Mail size = { 16 } /> }
200203 </ span >
201204 </ TooltipTrigger >
202205 < TooltipContent className = 'p-2 bg-black text-white rounded' >
You can’t perform that action at this time.
0 commit comments