From f5f3db987b0172ae0e83d8889fee9826cc3e611f Mon Sep 17 00:00:00 2001 From: David Sancho Moreno Date: Fri, 22 Nov 2024 11:47:09 +0100 Subject: [PATCH] Join snippet on interp --- .../website/site/pages/reference/interpolation.mdx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/website/site/pages/reference/interpolation.mdx b/packages/website/site/pages/reference/interpolation.mdx index 29c42079..0e13894a 100644 --- a/packages/website/site/pages/reference/interpolation.mdx +++ b/packages/website/site/pages/reference/interpolation.mdx @@ -12,20 +12,12 @@ Interpolation is one of the most powerful and useful patterns in styled-ppx. You ```rescript module Component = %styled.div(` border: 1px solid $(Theme.black); -`) -``` -```reason -module Component = [%styled.div {| - border: 1px solid $(Theme.black); -|}]; -``` -```rescript -module Component = %styled.div(` max-width: $(maxWidth); `) ``` ```reason module Component = [%styled.div {| + border: 1px solid $(Theme.black); max-width: $(maxWidth); |}]; ```