({
icon,
label,
disabled,
onClick,
}: MenuRowProps)
| 140 | } |
| 141 | |
| 142 | const MenuRow = ({ |
| 143 | icon, |
| 144 | label, |
| 145 | disabled, |
| 146 | onClick, |
| 147 | }: MenuRowProps): ReactElement => ( |
| 148 | <button |
| 149 | type="button" |
| 150 | disabled={disabled} |
| 151 | onClick={onClick} |
| 152 | className="flex h-12 w-full items-center gap-3 px-4 text-left text-text-primary typo-callout disabled:text-text-disabled" |
| 153 | > |
| 154 | {icon} |
| 155 | {label} |
| 156 | </button> |
| 157 | ); |
| 158 | |
| 159 | export interface ReadingDrawerProps { |
| 160 | post: Post; |
nothing calls this directly
no outgoing calls
no test coverage detected