mirror of
https://github.com/nicbarker/clay.git
synced 2026-04-19 09:41:17 +00:00
Merge 5902e4c822 into f70b8c7ff3
This commit is contained in:
commit
0ea4ffe134
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ CLAY(CLAY_ID("parent"), { .layout = { .padding = CLAY_PADDING_ALL(8) } }) {
|
|||
// Child element 1
|
||||
CLAY_TEXT(CLAY_STRING("Hello World"), { .fontSize = 16 });
|
||||
// Child element 2 with red background
|
||||
CLAY((CLAY_ID("child"), { .backgroundColor = COLOR_RED }) {
|
||||
CLAY(CLAY_ID("child"), { .backgroundColor = COLOR_RED }) {
|
||||
// etc
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue