This commit is contained in:
Isaac Wise
2024-02-11 01:29:11 -06:00
parent e2c6993a6d
commit 0a77ee90a7
15 changed files with 186 additions and 129 deletions
+11 -7
View File
@@ -9,14 +9,18 @@ type Props = {
onChange: any;
showDefaultValue?: boolean;
defaultValue?:
| {
label: string;
value?: number;
}
| undefined;
| {
label: string;
value?: number;
}
| undefined;
};
export default function CollectionSelection({ onChange, defaultValue, showDefaultValue = true }: Props) {
export default function CollectionSelection({
onChange,
defaultValue,
showDefaultValue = true,
}: Props) {
const { collections } = useCollectionStore();
const router = useRouter();
@@ -52,7 +56,7 @@ export default function CollectionSelection({ onChange, defaultValue, showDefaul
options={options}
styles={styles}
defaultValue={showDefaultValue ? defaultValue : null}
// menuPosition="fixed"
// menuPosition="fixed"
/>
);
}