Skip to content

Commit 020f1b0

Browse files
committed
add lemcal shared component
1 parent cc6e1d1 commit 020f1b0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

reflex_ui/blocks/lemcal.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import reflex as rx
2+
3+
4+
def lemcal_calendar(**props) -> rx.Component:
5+
return rx.el.div(
6+
class_name="lemcal-embed-booking-calendar",
7+
data_user="usr_8tiwtJ8nEJaFj2qH9",
8+
data_meeting_type="met_EHtPvmZoKE4SFk4kZ",
9+
**props,
10+
)
11+
12+
13+
def lemcal_script(**props) -> rx.Component:
14+
return rx.script(
15+
src="https://cdn.lemcal.com/lemcal-integrations.min.js",
16+
defer=True,
17+
**props,
18+
)

0 commit comments

Comments
 (0)