Skip to content

Commit d80760c

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

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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)