Skip to content

Commit ec51aa3

Browse files
committed
fixup! add(select-inputs): add action container to options
1 parent b3fcbcd commit ec51aa3

6 files changed

Lines changed: 18585 additions & 13649 deletions

File tree

.yarn/install-state.gz

1.81 MB
Binary file not shown.

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,6 @@
116116
"stylelint-config-concentric": "^2.0.2",
117117
"stylelint-config-recommended": "^3.0.0",
118118
"typescript": "^4.0.3"
119-
}
119+
},
120+
"packageManager": "yarn@4.9.1+sha512.f95ce356460e05be48d66401c1ae64ef84d163dd689964962c6888a9810865e39097a5e9de748876c2e0bf89b232d583c33982773e9903ae7a76257270986538"
120121
}

src/components/GenericOption/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export interface GenericOptionParams<P extends ContentBaseProps, OK extends Opti
1818
optionContainerClassName?: string;
1919
contentRenderer: (props: Pick<P, Exclude<keyof P, 'containerClassName' | 'title'>>) => React.ReactNode;
2020
contentRendererParam: (key: OK, opt: O) => P;
21-
actionsSelector: (props: O) => React.ReactNode;
21+
actionsSelector?: (props: O) => React.ReactNode;
2222
option: O;
2323
optionKey: OK;
2424
onClick: (optionKey: OK, option: O) => void;

src/components/SelectInputContainer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export type SelectInputContainerProps<
6161
optionKeySelector: (datum: O, index: number) => OK;
6262
optionRenderer: (props: Pick<P, Exclude<keyof P, 'containerClassName' | 'title'>>) => React.ReactNode;
6363
optionRendererParams: (optionKey: OK, option: O) => P;
64-
actionsSelector: (option: O) => React.ReactNode;
64+
actionsSelector?: (option: O) => React.ReactNode;
6565
totalOptionsCount?: number;
6666
optionsPopupContentClassName?: string;
6767
options: O[] | undefined | null;

0 commit comments

Comments
 (0)