import {JSX, mergeProps, splitProps} from "solid-js"; import classNames from "./classnames"; import {useBootstrapPrefix} from "./ThemeProvider"; import {BsPrefixProps, BsPrefixRefForwardingComponent} from "./helpers"; import {Dynamic} from "solid-js/web"; export interface NavbarBrandProps extends BsPrefixProps, JSX.HTMLAttributes { href?: string; } const defaultProps: Partial = {}; const NavbarBrand: BsPrefixRefForwardingComponent<"a", NavbarBrandProps> = ( p: NavbarBrandProps, ) => { const [local, props] = splitProps(mergeProps(defaultProps, p), ["as", "bsPrefix", "class"]); const bsPrefix = useBootstrapPrefix(local.bsPrefix, "navbar-brand"); return ( ); }; export default NavbarBrand;