mirror of
https://github.com/shoelace-style/shoelace.git
synced 2026-01-12 02:59:13 +00:00
fix bad type
This commit is contained in:
@@ -58,8 +58,7 @@ components.map(component => {
|
||||
React.ComponentPropsWithoutRef<ReactComponent> & {
|
||||
ref?: React.ForwardedRef<Element>;
|
||||
}
|
||||
> &
|
||||
Omit<React.FC<ReactComponent>, 'ref'>;
|
||||
> & { displayName?: string }
|
||||
|
||||
const tagName = '${component.tagName}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user