({
href,
children,
style,
}: { href: string; children: React.ReactNode; style?: React.CSSProperties })
| 3 | import React from 'react'; |
| 4 | |
| 5 | export function Button({ |
| 6 | href, |
| 7 | children, |
| 8 | style, |
| 9 | }: { href: string; children: React.ReactNode; style?: React.CSSProperties }) { |
| 10 | return ( |
| 11 | <EmailButton |
| 12 | href={href} |
| 13 | style={{ |
| 14 | backgroundColor: '#000', |
| 15 | borderRadius: '6px', |
| 16 | color: '#fff', |
| 17 | padding: '12px 20px', |
| 18 | textDecoration: 'none', |
| 19 | ...style, |
| 20 | }} |
| 21 | > |
| 22 | {children} |
| 23 | </EmailButton> |
| 24 | ); |
| 25 | } |
nothing calls this directly
no outgoing calls
no test coverage detected