{"id":1803,"date":"2025-08-06T12:55:43","date_gmt":"2025-08-06T12:55:43","guid":{"rendered":"https:\/\/www.freelifemakers.org\/wordpress\/?p=1803"},"modified":"2025-08-06T13:20:43","modified_gmt":"2025-08-06T13:20:43","slug":"flmac","status":"publish","type":"post","link":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/2025\/08\/06\/flmac\/","title":{"rendered":"\uc778\ub514\ucf00\uc774\ud130\/FlmActivityIndicator"},"content":{"rendered":"\n<p><strong>1.react-native-freelifemakers-ui NPM \ubaa8\ub4c8 \uc124\uce58\ud558\uae30 \/ react-native-freelifemakers-ui NPM Module Install<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>npm install react-native-freelifemakers-ui<\/code><\/pre>\n\n\n\n<p><strong>2.\uc0ac\uc6a9\ud558\uae30 \/ Usage<\/strong><br>1)\ubaa8\ub4c8 \ubd88\ub7ec\uc624\uae30 \/ import Module<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import {FlmActivityIndicator, FlmButton} from 'react-native-freelifemakers-ui'; <\/code><\/pre>\n\n\n\n<p>2)\uc0ac\uc6a9\ud558\uae30 \/ Usage<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;FlmActivityIndicator animating={isAnimating} \/&gt;<\/code><\/pre>\n\n\n\n<p><strong>3.\uc608\uc81c\ucf54\ub4dc \/ Example code<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import React, {useState} from 'react';\nimport {View, Text, StyleSheet, ScrollView} from 'react-native';\nimport {SafeAreaView} from 'react-native-safe-area-context';\n\/\/ FlmUnifiedActivityIndicator \ucef4\ud3ec\ub10c\ud2b8 \uacbd\ub85c\ub97c \ub9de\uac8c \uc870\uc815\ud574\uc8fc\uc138\uc694.\n\/\/import FlmUnifiedActivityIndicator from \".\/FlmUnifiedActivityIndicator\";\nimport {FlmActivityIndicator, FlmButton} from 'react-native-freelifemakers-ui'; \/\/ FlmActivityIndicator \ucef4\ud3ec\ub10c\ud2b8 \uacbd\ub85c\ub97c \ub9de\uac8c \uc870\uc815\ud574\uc8fc\uc138\uc694.\n\nconst FlmActivityIndicatorApp = () =&gt; {\n  const &#91;isAnimating, setIsAnimating] = useState(true);\n\n  \/\/ \uc560\ub2c8\uba54\uc774\uc158 \uc0c1\ud0dc\ub97c \ud1a0\uae00\ud558\ub294 \ud568\uc218\n  \/\/ Function to toggle animation state\n  const toggleAnimation = () =&gt; {\n    setIsAnimating(!isAnimating);\n  };\n\n  return (\n    &lt;SafeAreaView style={styles.safeArea}&gt;\n      &lt;ScrollView contentContainerStyle={styles.scrollViewContent}&gt;\n        &lt;View style={styles.container}&gt;\n          &lt;Text style={styles.title}&gt;FlmUnifiedActivityIndicator \uc608\uc81c&lt;\/Text&gt;\n          &lt;Text style={styles.title}&gt;FlmUnifiedActivityIndicator Example&lt;\/Text&gt;\n\n          {\/* \uae30\ubcf8 \uc778\ub514\ucf00\uc774\ud130 (Large) *\/}\n          {\/* Basic Indicator (Large) *\/}\n          &lt;View style={styles.section}&gt;\n            &lt;Text style={styles.sectionTitle}&gt;\n              \uae30\ubcf8 \uc778\ub514\ucf00\uc774\ud130 \/ Default Indicator\n            &lt;\/Text&gt;\n            &lt;FlmActivityIndicator animating={isAnimating} \/&gt;\n          &lt;\/View&gt;\n\n          {\/* \uc791\uc740 \ud06c\uae30 \uc778\ub514\ucf00\uc774\ud130 (Small) *\/}\n          {\/* Small Size Indicator (Small) *\/}\n          &lt;View style={styles.section}&gt;\n            &lt;Text style={styles.sectionTitle}&gt;\n              \uc791\uc740 \uc778\ub514\ucf00\uc774\ud130 \/ Small Indicator\n            &lt;\/Text&gt;\n            &lt;FlmActivityIndicator size=\"small\" animating={isAnimating} \/&gt;\n          &lt;\/View&gt;\n\n          {\/* \uc0ac\uc6a9\uc790 \uc815\uc758 \uc0c9\uc0c1 \uc778\ub514\ucf00\uc774\ud130 (Red) *\/}\n          {\/* Custom Color Indicator (Red) *\/}\n          &lt;View style={styles.section}&gt;\n            &lt;Text style={styles.sectionTitle}&gt;\uc0ac\uc6a9\uc790 \uc815\uc758 \uc0c9\uc0c1 (Red)&lt;\/Text&gt;\n            &lt;FlmActivityIndicator color=\"red\" animating={isAnimating} \/&gt;\n          &lt;\/View&gt;\n\n          {\/* \uc22b\uc790 \ud06c\uae30 \uc778\ub514\ucf00\uc774\ud130 (70) *\/}\n          {\/* Numeric Size Indicator (70) *\/}\n          &lt;View style={styles.section}&gt;\n            &lt;Text style={styles.sectionTitle}&gt;\n              \uc22b\uc790 \ud06c\uae30 \/ Numeric Size (70)\n            &lt;\/Text&gt;\n            &lt;FlmActivityIndicator\n              size={70}\n              color=\"#007bff\"\n              animating={isAnimating}\n            \/&gt;\n          &lt;\/View&gt;\n\n          {\/* \ub2e4\ub978 \uc0c9\uc0c1\uc758 \uc778\ub514\ucf00\uc774\ud130 (Green) *\/}\n          {\/* Another Color Indicator (Green) *\/}\n          &lt;View style={styles.section}&gt;\n            &lt;Text style={styles.sectionTitle}&gt;\ub2e4\ub978 \uc0c9\uc0c1 (Green)&lt;\/Text&gt;\n            &lt;FlmActivityIndicator color=\"green\" animating={isAnimating} \/&gt;\n          &lt;\/View&gt;\n\n          {\/* \uc560\ub2c8\uba54\uc774\uc158 \ud1a0\uae00 \ubc84\ud2bc *\/}\n          {\/* Animation Toggle Button *\/}\n          &lt;FlmButton\n            title={\n              isAnimating\n                ? '\uc560\ub2c8\uba54\uc774\uc158 \uba48\ucd94\uae30\/animation stop'\n                : '\uc560\ub2c8\uba54\uc774\uc158 \uc2dc\uc791\ud558\uae30\/animation start'\n            }\n            onPress={toggleAnimation}\n            style={styles.toggleButton}\n          \/&gt;\n        &lt;\/View&gt;\n      &lt;\/ScrollView&gt;\n    &lt;\/SafeAreaView&gt;\n  );\n};\n\nconst styles = StyleSheet.create({\n  safeArea: {\n    flex: 1,\n    backgroundColor: '#f0f2f5',\n  },\n  scrollViewContent: {\n    flexGrow: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    paddingVertical: 20,\n  },\n  container: {\n    width: '100%',\n    maxWidth: 400, \/\/ \ucd5c\ub300 \ub108\ube44 \uc124\uc815\uc73c\ub85c \ud070 \ud654\uba74\uc5d0\uc11c \ubcf4\uae30 \uc88b\uac8c\n    alignItems: 'center',\n    padding: 20,\n  },\n  title: {\n    fontSize: 24,\n    fontWeight: 'bold',\n    marginBottom: 30,\n    color: '#333',\n    textAlign: 'center',\n  },\n  section: {\n    marginBottom: 25,\n    alignItems: 'center',\n    width: '100%',\n  },\n  sectionTitle: {\n    fontSize: 18,\n    fontWeight: '600',\n    marginBottom: 10,\n    color: '#555',\n    textAlign: 'center',\n  },\n  toggleButton: {\n    marginTop: 30,\n    width: '80%', \/\/ \ubc84\ud2bc \ub108\ube44 \uc870\uc815\n  },\n});\n\nexport default FlmActivityIndicatorApp;\n<\/code><\/pre>\n\n\n\n<p><strong>4.\uc2a4\ud06c\ub9b0\uc0f7\/ScreenShot<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"\uc778\ub514\ucf00\uc774\ud130\/FlmActivityIndicator\" width=\"473\" height=\"840\" src=\"https:\/\/www.youtube.com\/embed\/v77uX6CCz58?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>1.react-native-freelifemakers-ui NPM \ubaa8\ub4c8 \uc124\uce58\ud558\uae30 \/ react-native-freelifemakers-ui NPM Module Install 2.\uc0ac\uc6a9\ud558\uae30 \/ Usage1)\ubaa8\ub4c8 \ubd88\ub7ec\uc624\uae30 \/ import Module 2)\uc0ac\uc6a9\ud558\uae30 \/ Usage 3.\uc608\uc81c\ucf54\ub4dc \/ Example code 4.\uc2a4\ud06c\ub9b0\uc0f7\/ScreenShot<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,15,1],"tags":[],"class_list":["post-1803","post","type-post","status-publish","format-standard","hentry","category-reactnative","category-rnuimodule","category-uncategorized","missing-thumbnail"],"_links":{"self":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=1803"}],"version-history":[{"count":3,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1803\/revisions"}],"predecessor-version":[{"id":1807,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1803\/revisions\/1807"}],"wp:attachment":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=1803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=1803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=1803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}