diff --git a/bindings/odin/README.md b/bindings/odin/README.md index 7b6ce05..5e3a718 100644 --- a/bindings/odin/README.md +++ b/bindings/odin/README.md @@ -106,7 +106,7 @@ CreateLayout :: proc() -> clay.ClayArray(clay.RenderCommand) { clay.Layout({sizing = {width = clay.SizingFixed(60), height = clay.SizingFixed(60)}}), clay.ImageConfig({imageData = &profilePicture, sourceDimensions = {height = 60, width = 60}}), ) {} - clay.Text(clay.ID("ProfileTitle"), clay.MakeString("Clay - UI Library"), clay.TextConfig({fontSize = 24, textColor = {255, 255, 255, 255}})) + clay.Text(clay.ID("ProfileTitle"), "Clay - UI Library", clay.TextConfig({fontSize = 24, textColor = {255, 255, 255, 255}})) } // Standard Odin code like loops etc work inside components