-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Marquee with direction="vertical" is not displaying
import { Marquee } from '@animatereactnative/marquee';
import { marketPortfolioBuilderCardMarqueeMocks } from './market-portfolio-builder-card-marquee.mock';
import styled from 'styled-components/native';
const getRandomColor = () => {
return #${Math.floor(Math.random() * 16777215).toString(16)}
;
};
export const MarketPortfolioBuilderMarqueeItem = styled.Viewdisplay: flex; flex-direction: row; justify-content: space-between; align-items: center; height: 80px; margin-top: 15px; background-color: ${getRandomColor}; width: 100%;
;
export const MarketPortfolioBuilderCardMarquee = () => {
return (
{marketPortfolioBuilderCardMarqueeMocks.map((_, index) => (
))}
);
};
After updating code for AnimatedChild inside the package, adding width: 100% items are displaying correctly