ํ๋ก์ ํธ
GitHub์์ ๋ณด๊ธฐ
alantoa/react-native-awesome-slider
์๊ฐ
๐จ ๋ค์ฉ๋๋ก ์ฌ์ฉํ ์ ์๋ ๋ฐ์ํ React Native/Web <Slider /> ์ปดํฌ๋ํธ์ ๋๋ค.
์น ๋ฐ ์ฑ ๊ฐ๋ฐWhat you can do
- Discrete sliding
- Continuous sliding
- Snapping behavior
์ธก์ ๋ ์คํ ์ฆ๊ฐ
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- ๊ธฐ๋ก ์์ง ์ค
์๋ก ๊ฒน์น๋ ๊ธฐ๊ฐ์ ์์ฆ๊ฐ๋์ด๋ฉฐ ์ผ๋ณ ํฉ๊ณ๊ฐ ์๋๋๋ค. ์ธก์ ๊ฐ์ด ์์ผ๋ฉด ๋น์ ๋ก๋๋ค. ์คํ๋ ๊ด์ฌ๋๋ฅผ ๋ํ๋ด๋ฉฐ ํ์ง์ ๋ณด์ฅํ์ง ์์ต๋๋ค.
README.md
OriginalCore Features
- Discrete sliding
- Continuous sliding
- Step control
- Snapping behavior
Interaction
- Scrubbing control
- Haptic feedback
Customization
- Custom thumb
- Custom bubble tooltip
- Custom mark
- Customizable appearance
Use Cases
- Media Player Controls (video/audio progress, volume, playback speed)
- Financial Trading Tools (position size, leverage ratio)
- General Purpose (numeric value adjustment, settings configuration)
Installation
First, install and configure Reanimated v2 and react-native-gesture-handler
For react-native-gesture-handler version >= 2:
yarn add react-native-awesome-slider
For version < 2:
yarn add react-native-awesome-slider@1
Basic Usage
import { useSharedValue } from 'react-native-reanimated';
import { Slider } from 'react-native-awesome-slider';
export const Example = () => {
const progress = useSharedValue(30);
const min = useSharedValue(0);
const max = useSharedValue(100);
return <Slider progress={progress} minimumValue={min} maximumValue={max} />;
};
Documentation
For complete component props and advanced usage, visit our official documentation.
License
MIT ยฉ Alan Toa
๊ด๋ จ ํ๋ก์ ํธ ์ดํด๋ณด๊ธฐ
๋ถ๋ฌ์ค๋ ์คโฆ