Progress.Spinner
Show progress of some activity with a spinner.
Import
import { Progress } from "@dhua5922/react-native-kit";
Examples
Live Editor
function Example() { const [progress, setProgress] = useState(0); setTimeout(() => setProgress(progress + 1), 500); return <Progress.Spinner color="blue">{progress}%</Progress.Spinner>; }
Result
Loading...
Props
note
Include all props from Div
| Name | Type | Default | Description |
|---|---|---|---|
color | string | Color of progress bar and text. |