import React from "react";
import ScrollContainer from "react-indiana-drag-scroll";
/** min から max までの数字の入った配列を生成する関数 */
const range = (min, max, step = 1) => {
return Array.from(
{ length: (max - min + step) / step },
(v, k) => min + k * step
);
};
export default function IndianaDragScroll() {
return (
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
mahdi
divider between vertical && horizontal scroll bar inside
IndianaDragScroll COMPONENT
{range(0, 100).map((i, index) => (
{i}
))}
);
}