Latest changes

This commit is contained in:
Belen Curcio
2020-10-05 17:35:14 -03:00
parent 59a7dc20cd
commit b581b1902e
4 changed files with 47 additions and 45 deletions

View File

@@ -18,7 +18,6 @@ const M: FC<Props> = ({
items,
wrapper: Component = DefaultWrapper,
variant = 'primary',
// min = 'none',
}) => {
const rootClassName = cn(
s.root,
@@ -40,17 +39,17 @@ const M: FC<Props> = ({
// )
return (
<Ticker>
{({ index }) => (
<div className={rootClassName}>
<div className={rootClassName}>
<Ticker>
{({ index }) => (
<div className={s.container}>
{items.map((p: any) => (
<Component {...p} key={index} />
))}
</div>
</div>
)}
</Ticker>
)}
</Ticker>
</div>
)
}