File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ import React, {
77 ImgHTMLAttributes
88} from "react" ;
99import { symToStr } from "tsafe/symToStr" ;
10- import { assert } from "tsafe/assert" ;
11- import type { Equals } from "tsafe" ;
1210
1311import type { FrIconClassName , RiIconClassName } from "./fr/generatedFromCss/classNames" ;
1412import { fr } from "./fr" ;
@@ -64,7 +62,8 @@ export type CardProps = {
6462 style ?: CSSProperties ;
6563} & ( CardProps . EnlargedLink | CardProps . NotEnlargedLink ) &
6664 ( CardProps . Horizontal | CardProps . Vertical ) &
67- ( CardProps . WithImageLink | CardProps . WithImageComponent | CardProps . WithoutImage ) ;
65+ ( CardProps . WithImageLink | CardProps . WithImageComponent | CardProps . WithoutImage ) &
66+ React . HTMLAttributes < HTMLDivElement > ;
6867
6968export namespace CardProps {
7069 export type EnlargedLink = {
@@ -149,8 +148,6 @@ export const Card = memo(
149148 ...rest
150149 } = props ;
151150
152- assert < Equals < keyof typeof rest , never > > ( ) ;
153-
154151 const id = useAnalyticsId ( {
155152 "defaultIdPrefix" : "fr-card" ,
156153 "explicitlyProvidedId" : props_id
You can’t perform that action at this time.
0 commit comments