2.3.1 • Published 12 months ago

@amir-hossein-karimi/marquee v2.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

https://github.com/animate-react-native/marquee/assets/2805320/4fb199b2-491c-4621-bf84-85890a8d6f5e

NPM Version runs with expo npm npm

React Native Marquee component, a cross-platform marquee component, powered by Reanimated:

  • 🔋 Powered by Reanimated 3
  • 📱 Works with Expo
  • ✅ Cross-platform (iOS, Android, Web)
  • ⚡️ 60-120fps
  • 🪝 Works with any React Native element/component
  • ⌨️ Written in TypeScript

Installation

npm install @amir-hossein-karimi/marquee

Also, you need to install react-native-reanimated, and follow their installation instructions.

Usage

import { Marquee } from '@amir-hossein-karimi/marquee';

// ...

export function Example() {
  return (
    <Marquee spacing={20} speed={1}>
      <Heading>Powered by AnimateReactNative.com</Heading>
    </Marquee>
  );
}

Props

namedescriptionrequiredtypedefault
childrenAny component that you'd like to apply infinite scrolling / marquee effectYESReact.ReactNode1
speedAnimation speedNOnumber1
spacingSpacing between repeting elementsNOnumber0
styleView style to be applied to Marquee container.NOStyleProp<ViewStyle>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


2.3.1

12 months ago

2.2.1

12 months ago

2.1.1

12 months ago

1.1.1

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago

0.2.1

12 months ago

0.2.0

12 months ago