fix border style

Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2026-09-02 17:13:05 +02:00
parent edf72ab183
commit 6d858380c7
5 changed files with 57 additions and 6 deletions
+23
View File
@@ -0,0 +1,23 @@
// @bun
import {
theme
} from "./chunk-57mam43k.js";
// src/components/Box.tsx
import { spread as _$spread } from "@opentui/solid";
import { mergeProps as _$mergeProps } from "@opentui/solid";
import { memo as _$memo } from "@opentui/solid";
import { createElement as _$createElement } from "@opentui/solid";
function Box(props) {
return (() => {
var _el$ = _$createElement("box");
_$spread(_el$, _$mergeProps(props, {
get borderStyle() {
return props.borderStyle ?? theme.borderStyle;
}
}), false);
return _el$;
})();
}
export { Box };