Compare commits

..

No commits in common. "65904850ac41204f0d6e052922adec0cb10516f9" and "1100f6ad01b8d7e7a78236a1d49e86b38ba3056f" have entirely different histories.

2 changed files with 1 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@because/forge",
"version": "0.0.8",
"version": "0.0.7",
"type": "module",
"main": "src/index.tsx",
"module": "src/index.tsx",

View File

@ -189,11 +189,6 @@ function makeComponent(baseName: string, rootDef: TagDef, rootProps: Record<stri
const finalProps = { class: classNames.join(' '), ...baseAttrs, ...props, children }
if (finalProps.dangerouslySetInnerHTML) {
const { children: _, ...rest } = finalProps
return <Tag {...rest} />
}
const content = (partName && def.render) ? def.render(finalProps) : children
return <Tag {...finalProps}>{content}</Tag>