@grandlinex/react-components
Version:
20 lines (19 loc) • 549 B
TypeScript
import React from 'react';
export type ImageSelItemProps = {
key: string;
url?: string;
element?: React.ReactNode;
title?: string;
};
export type ImageSelProps = {
items: ImageSelItemProps[];
selected?: string;
onChange?: (item: ImageSelItemProps | null) => void;
maxStep?: number;
imgSize?: {
width: number;
height: number;
};
extended?: boolean;
};
export default function ImageSel({ items, selected, maxStep, onChange, extended, imgSize, }: Readonly<ImageSelProps>): React.JSX.Element;