Files
calendar/packages/emails/src/components/CallToActionTable.tsx
T
61e6f76bc6 Direct links to accept/reject a booking (#5939)
* Impl

* Added reason

* Secondary reject CTA

* Update packages/emails/src/components/Info.tsx

* Adjusting recurring info

* Not showing reason for rejecting if none given

* Feedback

* Error handling + style fixes

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-12-13 22:09:28 +01:00

23 lines
545 B
TypeScript

export const CallToActionTable = (props: { children: React.ReactNode }) => (
<table>
<tbody>
<tr>
<td
align="center"
role="presentation"
style={{
border: "none",
borderRadius: "3px",
cursor: "auto",
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
msoPaddingAlt: "10px 25px",
}}
valign="middle">
{props.children}
</td>
</tr>
</tbody>
</table>
);