init component

This commit is contained in:
Robin COuret
2026-02-16 17:28:37 +01:00
parent 460c7a25e0
commit e0e50af706
4557 changed files with 666911 additions and 8 deletions

View File

@@ -0,0 +1,16 @@
import "../../../../src/components/layout/divider/divider.sass";
import { DEFAULT_THEME_COLOR_MAP, useTheme } from '../../../composables/theme';
import { h } from 'vue';
export default function BHorizontalDivider(props) {
const {
themeClasses
} = useTheme({
themeMap: props.themeMap ?? DEFAULT_THEME_COLOR_MAP,
isThemeable: props.isThemeable ?? true
});
return h(props.tag ?? 'hr', {
class: ['is-divider', ...themeClasses.value],
'data-content': props.text || null
});
}
//# sourceMappingURL=BHorizontalDivider.js.map