feat: added bordercolor option for dynamic section (#2334)

This commit is contained in:
Jack Weller authored and GitHub committed 2025-03-02 11:39:17 +01:00
1 parent 7dfc3646b7
commit 7dfb108a56
20 files changed
+4134 -12

No files matched your search

@@ -14,6 +14,8 @@ interface Props {
export const BoardDynamicSection = ({ section }: Props) => {
const board = useRequiredBoard();
const currentLayoutId = useCurrentLayout();
const options = section.options;
return (
<Box className="grid-stack-item-content">
<Card
@@ -25,6 +27,7 @@ export const BoardDynamicSection = ({ section }: Props) => {
root: {
"--opacity": board.opacity / 100,
overflow: "hidden",
"--border-color": options.borderColor !== "" ? options.borderColor : undefined,
},
}}
radius={board.itemRadius}