File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { LinkTo } from "./types.ts";
11
11
import { ID , toId } from "./id.ts" ;
12
12
import { BubbleOperators , Source } from "./useBubbles.ts" ;
13
13
14
- export interface CardListProps extends h . JSX . HTMLAttributes < HTMLUListElement > {
14
+ export interface CardListProps {
15
15
delay : number ;
16
16
prefetch : ( project : string , title : string ) => void ;
17
17
/** key ページカードのID, value: 逆リンク先 */
@@ -21,6 +21,7 @@ export interface CardListProps extends h.JSX.HTMLAttributes<HTMLUListElement> {
21
21
bubble : BubbleOperators [ "bubble" ] ;
22
22
source : Pick < Source , "project" | "title" | "position" > ;
23
23
projectsForSort : Set < string > ;
24
+ onClick ?: h . JSX . MouseEventHandler < HTMLUListElement > ;
24
25
}
25
26
26
27
export const CardList = ( {
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ export {
10
10
h ,
11
11
render ,
12
12
toChildArray ,
13
- } from "https://esm.sh/preact@10.6.4 " ;
13
+ } from "https://esm.sh/preact@10.22.1 " ;
14
14
export type {
15
15
ComponentChildren ,
16
16
FunctionComponent ,
17
- } from "https://esm.sh/preact@10.6.4 " ;
18
- export * from "https://esm.sh/preact@10.6.4 /hooks" ;
17
+ } from "https://esm.sh/preact@10.22.1 " ;
18
+ export * from "https://esm.sh/preact@10.22.1 /hooks" ;
You can’t perform that action at this time.
0 commit comments