From 587b87b7175471782ce74bb97a3953969e713b9c Mon Sep 17 00:00:00 2001 From: Kresten Laust Date: Sat, 28 Dec 2024 12:57:11 +0100 Subject: [PATCH] Docs: Fix syntax of custom prop (#182) --- website/docs/documentation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/documentation.md b/website/docs/documentation.md index 501976f..a40f79c 100644 --- a/website/docs/documentation.md +++ b/website/docs/documentation.md @@ -488,7 +488,7 @@ Alternatively, you can define the keys locally in your project in the same manne ```scala import com.raquo.laminar.codecs.* -val superValue: HtmlProp[String] = htmlProp("superValue", StringAsIsCodec) // imaginary prop +val superValue: HtmlProp[String, String] = htmlProp("superValue", StringAsIsCodec) // imaginary prop val onTouchMove: EventProp[dom.TouchEvent] = eventProp("touchmove") div(