diff --git a/404.html b/404.html index 74cbf82..50a9da6 100644 --- a/404.html +++ b/404.html @@ -7,8 +7,8 @@ - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

diff --git a/assets/js/399d2a39.475f77d8.js b/assets/js/399d2a39.475f77d8.js new file mode 100644 index 0000000..02a15fd --- /dev/null +++ b/assets/js/399d2a39.475f77d8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6573],{6455:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>s,contentTitle:()=>l,default:()=>p,frontMatter:()=>d,metadata:()=>c,toc:()=>u});var t=i(5893),a=i(1151),r=i(4866),o=i(5162);const d={sidebar_position:6},l="Make Widget configurable (Optional)",c={id:"tutorial/make-widget-configurable",title:"Make Widget configurable (Optional)",description:"In order to some of the widgets configurable, we need to create a widget configuration activity.",source:"@site/docs/tutorial/make-widget-configurable.md",sourceDirName:"tutorial",slug:"/tutorial/make-widget-configurable",permalink:"/react-native-android-widget/docs/tutorial/make-widget-configurable",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/make-widget-configurable.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"default",previous:{title:"Register widget in Expo",permalink:"/react-native-android-widget/docs/tutorial/register-widget-expo"},next:{title:"Try it out",permalink:"/react-native-android-widget/docs/tutorial/try-it-our"}},s={},u=[{value:"Add a widget configuration activity class",id:"add-a-widget-configuration-activity-class",level:2},{value:"Update the widget provider xml file for the widget",id:"update-the-widget-provider-xml-file-for-the-widget",level:2},{value:"Add widget configuration activity in AndroidManifest.xml",id:"add-widget-configuration-activity-in-androidmanifestxml",level:2},{value:"Make Widget configurable in Expo using config plugin",id:"make-widget-configurable-in-expo-using-config-plugin",level:2},{value:"Create the Widget Configuration Screen",id:"create-the-widget-configuration-screen",level:2}];function g(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,a.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"make-widget-configurable-optional",children:"Make Widget configurable (Optional)"}),"\n",(0,t.jsx)(n.p,{children:"In order to some of the widgets configurable, we need to create a widget configuration activity."}),"\n",(0,t.jsxs)(n.admonition,{title:"Note",type:"info",children:[(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"WIDGET_ADDED"})," event will be fired as soon as the widget is added on the home screen, regardless of whether it is configurable or not. We will need to have a fallback configuration."]}),(0,t.jsxs)(n.p,{children:["If the configuration is cancelled when adding the widget, ",(0,t.jsx)(n.code,{children:"WIDGET_DELETED"})," will be fired."]})]}),"\n",(0,t.jsx)(n.h2,{id:"add-a-widget-configuration-activity-class",children:"Add a widget configuration activity class"}),"\n","\n","\n",(0,t.jsxs)(r.Z,{children:[(0,t.jsx)(o.Z,{value:"Java",label:"Java",default:!0,children:(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-java",metastring:'title="android/app/src/main/java/com/yourapppackage/WidgetConfigurationActivity.java"',children:"package com.yourapppackage;\n\nimport com.reactnativeandroidwidget.RNWidgetConfigurationActivity;\n\npublic class WidgetConfigurationActivity extends RNWidgetConfigurationActivity {\n}\n"})})}),(0,t.jsx)(o.Z,{value:"Kotlin",label:"Kotlin",children:(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-kotlin",metastring:'title="android/app/src/main/java/com/yourapppackage/WidgetConfigurationActivity.kt"',children:"package com.yourapppackage\n\nimport com.reactnativeandroidwidget.RNWidgetConfigurationActivity\n\nclass WidgetConfigurationActivity : RNWidgetConfigurationActivity() {\n}\n"})})})]}),"\n",(0,t.jsx)(n.h2,{id:"update-the-widget-provider-xml-file-for-the-widget",children:"Update the widget provider xml file for the widget"}),"\n",(0,t.jsxs)(n.p,{children:["In the widget provider we created, add ",(0,t.jsx)(n.code,{children:"configure"})," and ",(0,t.jsx)(n.code,{children:"widgetFeatures"})," properties."]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-xml",metastring:'title="android/app/src/main/res/xml/widgetprovider_hello.xml"',children:'\n\n\n'})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"android:configure"})," should reference the configuration activity we created"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"android:widgetFeatures"})," can be ",(0,t.jsx)(n.code,{children:"reconfigurable"})," or ",(0,t.jsx)(n.code,{children:"reconfigurable|configuration_optional"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"reconfigurable"})," means that the widget will be configurable and the configuration activity will open as soon as the widget is added to the home screen. Its configuration can also be changed later by long-pressing the widget."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"reconfigurable|configuration_optional"})," means that the widget configuration can only be changed by long-pressing the widget, and the configuration activity will not open when the widget is added"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"add-widget-configuration-activity-in-androidmanifestxml",children:"Add widget configuration activity in AndroidManifest.xml"}),"\n",(0,t.jsxs)(n.p,{children:["Finally, we need to add the widget configuration activity in ",(0,t.jsx)(n.code,{children:"AndroidManifest.xml"})]}),"\n",(0,t.jsxs)(n.p,{children:["In ",(0,t.jsx)(n.code,{children:"AndroidManifest.xml"}),", add a activity"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-xml",metastring:'title="android/app/src/main/AndroidManifest.xml"',children:'\n ...\n \n\n \n \n\n \n \n \n \n \n \n\n'})}),"\n",(0,t.jsx)(n.p,{children:"For the activity"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"android:name"})," myst be ",(0,t.jsx)(n.code,{children:".WidgetConfigurationActivity"})," (same as the Java class extending ",(0,t.jsx)(n.code,{children:"RNWidgetConfigurationActivity"}),")"]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"make-widget-configurable-in-expo-using-config-plugin",children:"Make Widget configurable in Expo using config plugin"}),"\n",(0,t.jsxs)(n.p,{children:["If using Expo, the configuration is much simpler. We will only need to set the ",(0,t.jsx)(n.code,{children:"widgetFeatures"})," property in the config plugin to ",(0,t.jsx)(n.code,{children:"reconfigurable"})," or ",(0,t.jsx)(n.code,{children:"reconfigurable|configuration_optional"}),"."]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-js",metastring:'title="app.config.ts"',children:"import type { ConfigContext, ExpoConfig } from 'expo/config';\nimport type { WithAndroidWidgetsParams } from 'react-native-android-widget';\n\nconst widgetConfig: WithAndroidWidgetsParams = {\n widgets: [\n {\n name: 'Hello',\n label: 'My Hello Widget',\n minWidth: '320dp',\n minHeight: '120dp',\n description: 'This is my first widget',\n previewImage: './assets/widget-preview/hello.png',\n updatePeriodMillis: 1800000,\n\n // This\n widgetFeatures: 'reconfigurable',\n },\n ],\n};\n\nexport default ({ config }: ConfigContext): ExpoConfig => ({\n ...config,\n name: 'My Expo App Name',\n plugins: [['react-native-android-widget', widgetConfig]],\n});\n"})}),"\n",(0,t.jsx)(n.h2,{id:"create-the-widget-configuration-screen",children:"Create the Widget Configuration Screen"}),"\n",(0,t.jsxs)(n.p,{children:["For the UI of the Widget Configuration Screen in both bare React Native and Expo, see the ",(0,t.jsx)(n.a,{href:"/react-native-android-widget/docs/api/register-widget-configuration-screen",children:(0,t.jsx)(n.code,{children:"registerWidgetConfigurationScreen"})})]})]})}function p(e={}){const{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(g,{...e})}):g(e)}},5162:(e,n,i)=>{i.d(n,{Z:()=>o});i(7294);var t=i(512);const a={tabItem:"tabItem_Ymn6"};var r=i(5893);function o(e){let{children:n,hidden:i,className:o}=e;return(0,r.jsx)("div",{role:"tabpanel",className:(0,t.Z)(a.tabItem,o),hidden:i,children:n})}},4866:(e,n,i)=>{i.d(n,{Z:()=>j});var t=i(7294),a=i(512),r=i(2466),o=i(6550),d=i(469),l=i(1980),c=i(7392),s=i(12);function u(e){return t.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,t.isValidElement)(e)&&function(e){const{props:n}=e;return!!n&&"object"==typeof n&&"value"in n}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function g(e){const{values:n,children:i}=e;return(0,t.useMemo)((()=>{const e=n??function(e){return u(e).map((e=>{let{props:{value:n,label:i,attributes:t,default:a}}=e;return{value:n,label:i,attributes:t,default:a}}))}(i);return function(e){const n=(0,c.l)(e,((e,n)=>e.value===n.value));if(n.length>0)throw new Error(`Docusaurus error: Duplicate values "${n.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[n,i])}function p(e){let{value:n,tabValues:i}=e;return i.some((e=>e.value===n))}function f(e){let{queryString:n=!1,groupId:i}=e;const a=(0,o.k6)(),r=function(e){let{queryString:n=!1,groupId:i}=e;if("string"==typeof n)return n;if(!1===n)return null;if(!0===n&&!i)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return i??null}({queryString:n,groupId:i});return[(0,l._X)(r),(0,t.useCallback)((e=>{if(!r)return;const n=new URLSearchParams(a.location.search);n.set(r,e),a.replace({...a.location,search:n.toString()})}),[r,a])]}function h(e){const{defaultValue:n,queryString:i=!1,groupId:a}=e,r=g(e),[o,l]=(0,t.useState)((()=>function(e){let{defaultValue:n,tabValues:i}=e;if(0===i.length)throw new Error("Docusaurus error: the component requires at least one children component");if(n){if(!p({value:n,tabValues:i}))throw new Error(`Docusaurus error: The has a defaultValue "${n}" but none of its children has the corresponding value. Available values are: ${i.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return n}const t=i.find((e=>e.default))??i[0];if(!t)throw new Error("Unexpected error: 0 tabValues");return t.value}({defaultValue:n,tabValues:r}))),[c,u]=f({queryString:i,groupId:a}),[h,m]=function(e){let{groupId:n}=e;const i=function(e){return e?`docusaurus.tab.${e}`:null}(n),[a,r]=(0,s.Nk)(i);return[a,(0,t.useCallback)((e=>{i&&r.set(e)}),[i,r])]}({groupId:a}),v=(()=>{const e=c??h;return p({value:e,tabValues:r})?e:null})();(0,d.Z)((()=>{v&&l(v)}),[v]);return{selectedValue:o,selectValue:(0,t.useCallback)((e=>{if(!p({value:e,tabValues:r}))throw new Error(`Can't select invalid tab value=${e}`);l(e),u(e),m(e)}),[u,m,r]),tabValues:r}}var m=i(2389);const v={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var w=i(5893);function x(e){let{className:n,block:i,selectedValue:t,selectValue:o,tabValues:d}=e;const l=[],{blockElementScrollPositionUntilNextRender:c}=(0,r.o5)(),s=e=>{const n=e.currentTarget,i=l.indexOf(n),a=d[i].value;a!==t&&(c(n),o(a))},u=e=>{let n=null;switch(e.key){case"Enter":s(e);break;case"ArrowRight":{const i=l.indexOf(e.currentTarget)+1;n=l[i]??l[0];break}case"ArrowLeft":{const i=l.indexOf(e.currentTarget)-1;n=l[i]??l[l.length-1];break}}n?.focus()};return(0,w.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.Z)("tabs",{"tabs--block":i},n),children:d.map((e=>{let{value:n,label:i,attributes:r}=e;return(0,w.jsx)("li",{role:"tab",tabIndex:t===n?0:-1,"aria-selected":t===n,ref:e=>l.push(e),onKeyDown:u,onClick:s,...r,className:(0,a.Z)("tabs__item",v.tabItem,r?.className,{"tabs__item--active":t===n}),children:i??n},n)}))})}function b(e){let{lazy:n,children:i,selectedValue:a}=e;const r=(Array.isArray(i)?i:[i]).filter(Boolean);if(n){const e=r.find((e=>e.props.value===a));return e?(0,t.cloneElement)(e,{className:"margin-top--md"}):null}return(0,w.jsx)("div",{className:"margin-top--md",children:r.map(((e,n)=>(0,t.cloneElement)(e,{key:n,hidden:e.props.value!==a})))})}function y(e){const n=h(e);return(0,w.jsxs)("div",{className:(0,a.Z)("tabs-container",v.tabList),children:[(0,w.jsx)(x,{...e,...n}),(0,w.jsx)(b,{...e,...n})]})}function j(e){const n=(0,m.Z)();return(0,w.jsx)(y,{...e,children:u(e.children)},String(n))}},1151:(e,n,i)=>{i.d(n,{Z:()=>d,a:()=>o});var t=i(7294);const a={},r=t.createContext(a);function o(e){const n=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:o(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/399d2a39.616fc433.js b/assets/js/399d2a39.616fc433.js deleted file mode 100644 index afb6ca8..0000000 --- a/assets/js/399d2a39.616fc433.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6573],{6455:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>c,contentTitle:()=>a,default:()=>g,frontMatter:()=>o,metadata:()=>r,toc:()=>l});var t=n(5893),d=n(1151);const o={sidebar_position:6},a="Make Widget configurable (Optional)",r={id:"tutorial/make-widget-configurable",title:"Make Widget configurable (Optional)",description:"In order to some of the widgets configurable, we need to create a widget configuration activity.",source:"@site/docs/tutorial/make-widget-configurable.md",sourceDirName:"tutorial",slug:"/tutorial/make-widget-configurable",permalink:"/react-native-android-widget/docs/tutorial/make-widget-configurable",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/make-widget-configurable.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"default",previous:{title:"Register widget in Expo",permalink:"/react-native-android-widget/docs/tutorial/register-widget-expo"},next:{title:"Try it out",permalink:"/react-native-android-widget/docs/tutorial/try-it-our"}},c={},l=[{value:"Add a widget configuration activity class",id:"add-a-widget-configuration-activity-class",level:2},{value:"Update the widget provider xml file for the widget",id:"update-the-widget-provider-xml-file-for-the-widget",level:2},{value:"Add widget configuration activity in AndroidManifest.xml",id:"add-widget-configuration-activity-in-androidmanifestxml",level:2},{value:"Make Widget configurable in Expo using config plugin",id:"make-widget-configurable-in-expo-using-config-plugin",level:2},{value:"Create the Widget Configuration Screen",id:"create-the-widget-configuration-screen",level:2}];function s(e){const i={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,d.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.h1,{id:"make-widget-configurable-optional",children:"Make Widget configurable (Optional)"}),"\n",(0,t.jsx)(i.p,{children:"In order to some of the widgets configurable, we need to create a widget configuration activity."}),"\n",(0,t.jsxs)(i.admonition,{title:"Note",type:"info",children:[(0,t.jsxs)(i.p,{children:[(0,t.jsx)(i.code,{children:"WIDGET_ADDED"})," event will be fired as soon as the widget is added on the home screen, regardless of whether it is configurable or not. We will need to have a fallback configuration."]}),(0,t.jsxs)(i.p,{children:["If the configuration is cancelled when adding the widget, ",(0,t.jsx)(i.code,{children:"WIDGET_DELETED"})," will be fired."]})]}),"\n",(0,t.jsx)(i.h2,{id:"add-a-widget-configuration-activity-class",children:"Add a widget configuration activity class"}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-java",metastring:'title="android/app/src/main/java/com/yourapppackage/WidgetConfigurationActivity.java"',children:"package com.yourapppackage;\n\nimport com.reactnativeandroidwidget.RNWidgetConfigurationActivity;\n\npublic class WidgetConfigurationActivity extends RNWidgetConfigurationActivity {\n}\n"})}),"\n",(0,t.jsx)(i.h2,{id:"update-the-widget-provider-xml-file-for-the-widget",children:"Update the widget provider xml file for the widget"}),"\n",(0,t.jsxs)(i.p,{children:["In the widget provider we created, add ",(0,t.jsx)(i.code,{children:"configure"})," and ",(0,t.jsx)(i.code,{children:"widgetFeatures"})," properties."]}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/res/xml/widgetprovider_hello.xml"',children:'\n\n\n'})}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"android:configure"})," should reference the configuration activity we created"]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"android:widgetFeatures"})," can be ",(0,t.jsx)(i.code,{children:"reconfigurable"})," or ",(0,t.jsx)(i.code,{children:"reconfigurable|configuration_optional"}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"reconfigurable"})," means that the widget will be configurable and the configuration activity will open as soon as the widget is added to the home screen. Its configuration can also be changed later by long-pressing the widget."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"reconfigurable|configuration_optional"})," means that the widget configuration can only be changed by long-pressing the widget, and the configuration activity will not open when the widget is added"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(i.h2,{id:"add-widget-configuration-activity-in-androidmanifestxml",children:"Add widget configuration activity in AndroidManifest.xml"}),"\n",(0,t.jsxs)(i.p,{children:["Finally, we need to add the widget configuration activity in ",(0,t.jsx)(i.code,{children:"AndroidManifest.xml"})]}),"\n",(0,t.jsxs)(i.p,{children:["In ",(0,t.jsx)(i.code,{children:"AndroidManifest.xml"}),", add a activity"]}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/AndroidManifest.xml"',children:'\n ...\n \n\n \n \n\n \n \n \n \n \n \n\n'})}),"\n",(0,t.jsx)(i.p,{children:"For the activity"}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"android:name"})," myst be ",(0,t.jsx)(i.code,{children:".WidgetConfigurationActivity"})," (same as the Java class extending ",(0,t.jsx)(i.code,{children:"RNWidgetConfigurationActivity"}),")"]}),"\n"]}),"\n",(0,t.jsx)(i.h2,{id:"make-widget-configurable-in-expo-using-config-plugin",children:"Make Widget configurable in Expo using config plugin"}),"\n",(0,t.jsxs)(i.p,{children:["If using Expo, the configuration is much simpler. We will only need to set the ",(0,t.jsx)(i.code,{children:"widgetFeatures"})," property in the config plugin to ",(0,t.jsx)(i.code,{children:"reconfigurable"})," or ",(0,t.jsx)(i.code,{children:"reconfigurable|configuration_optional"}),"."]}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-js",metastring:'title="app.config.ts"',children:"import type { ConfigContext, ExpoConfig } from 'expo/config';\nimport type { WithAndroidWidgetsParams } from 'react-native-android-widget';\n\nconst widgetConfig: WithAndroidWidgetsParams = {\n widgets: [\n {\n name: 'Hello',\n label: 'My Hello Widget',\n minWidth: '320dp',\n minHeight: '120dp',\n description: 'This is my first widget',\n previewImage: './assets/widget-preview/hello.png',\n updatePeriodMillis: 1800000,\n\n // This\n widgetFeatures: 'reconfigurable',\n },\n ],\n};\n\nexport default ({ config }: ConfigContext): ExpoConfig => ({\n ...config,\n name: 'My Expo App Name',\n plugins: [['react-native-android-widget', widgetConfig]],\n});\n"})}),"\n",(0,t.jsx)(i.h2,{id:"create-the-widget-configuration-screen",children:"Create the Widget Configuration Screen"}),"\n",(0,t.jsxs)(i.p,{children:["For the UI of the Widget Configuration Screen in both bare React Native and Expo, see the ",(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/api/register-widget-configuration-screen",children:(0,t.jsx)(i.code,{children:"registerWidgetConfigurationScreen"})})]})]})}function g(e={}){const{wrapper:i}={...(0,d.a)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(s,{...e})}):s(e)}},1151:(e,i,n)=>{n.d(i,{Z:()=>r,a:()=>a});var t=n(7294);const d={},o=t.createContext(d);function a(e){const i=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function r(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:a(e.components),t.createElement(o.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7135efbc.014508c3.js b/assets/js/7135efbc.85b2a445.js similarity index 98% rename from assets/js/7135efbc.014508c3.js rename to assets/js/7135efbc.85b2a445.js index 1529c32..373b3ad 100644 --- a/assets/js/7135efbc.014508c3.js +++ b/assets/js/7135efbc.85b2a445.js @@ -1 +1 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7071],{8285:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>s,contentTitle:()=>t,default:()=>a,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var n=i(5893),d=i(1151);const o={id:"FlexWidgetStyle",title:"Interface: FlexWidgetStyle",sidebar_label:"FlexWidgetStyle",sidebar_position:0,custom_edit_url:null},t=void 0,l={id:"public-api/interfaces/FlexWidgetStyle",title:"Interface: FlexWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/FlexWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/FlexWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"FlexWidgetStyle",title:"Interface: FlexWidgetStyle",sidebar_label:"FlexWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"FlexWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps"},next:{title:"IconWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps"}},s={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"flex",id:"flex",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"flexDirection",id:"flexdirection",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"alignItems",id:"alignitems",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"justifyContent",id:"justifycontent",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"flexGap",id:"flexgap",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"flexGapColor",id:"flexgapcolor",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"overflow",id:"overflow",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-41",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"FlexStyleProps"})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,n.jsx)(r.code,{children:"CommonStyleProps"})})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"FlexWidgetStyle"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"flex",children:"flex"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"flex"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.flex"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"flexdirection",children:"flexDirection"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"flexDirection"}),": ",(0,n.jsx)(r.code,{children:'"row"'})," | ",(0,n.jsx)(r.code,{children:'"column"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.flexDirection"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"alignitems",children:"alignItems"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"alignItems"}),": ",(0,n.jsx)(r.code,{children:'"flex-start"'})," | ",(0,n.jsx)(r.code,{children:'"flex-end"'})," | ",(0,n.jsx)(r.code,{children:'"center"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.alignItems"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"justifycontent",children:"justifyContent"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"justifyContent"}),": ",(0,n.jsx)(r.code,{children:'"flex-start"'})," | ",(0,n.jsx)(r.code,{children:'"flex-end"'})," | ",(0,n.jsx)(r.code,{children:'"center"'})," | ",(0,n.jsx)(r.code,{children:'"space-between"'})," | ",(0,n.jsx)(r.code,{children:'"space-around"'})," | ",(0,n.jsx)(r.code,{children:'"space-evenly"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.justifyContent"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"flexgap",children:"flexGap"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"flexGap"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.flexGap"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"flexgapcolor",children:"flexGapColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"flexGapColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.flexGapColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"overflow",children:"overflow"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"overflow"}),": ",(0,n.jsx)(r.code,{children:'"hidden"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.overflow"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margin",children:"margin"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"margin"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margin",children:"margin"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginhorizontal",children:"marginHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginhorizontal",children:"marginHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginvertical",children:"marginVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginvertical",children:"marginVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margintop",children:"marginTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margintop",children:"marginTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginbottom",children:"marginBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginbottom",children:"marginBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginleft",children:"marginLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginleft",children:"marginLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginright",children:"marginRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginright",children:"marginRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"padding",children:"padding"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"padding"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#padding",children:"padding"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddinghorizontal",children:"paddingHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddinghorizontal",children:"paddingHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingvertical",children:"paddingVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingvertical",children:"paddingVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingtop",children:"paddingTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingtop",children:"paddingTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingbottom",children:"paddingBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingbottom",children:"paddingBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingleft",children:"paddingLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingleft",children:"paddingLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingright",children:"paddingRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingright",children:"paddingRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"height",children:"height"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"height"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#height",children:"height"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"width",children:"width"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"width"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#width",children:"width"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundcolor",children:"backgroundColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundcolor",children:"backgroundColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundgradient",children:"backgroundGradient"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundGradient"}),": ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"from"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"to"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"orientation"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:'"TOP_BOTTOM"'})," | ",(0,n.jsx)(r.code,{children:'"TR_BL"'})," | ",(0,n.jsx)(r.code,{children:'"RIGHT_LEFT"'})," | ",(0,n.jsx)(r.code,{children:'"BR_TL"'})," | ",(0,n.jsx)(r.code,{children:'"BOTTOM_TOP"'})," | ",(0,n.jsx)(r.code,{children:'"BL_TR"'})," | ",(0,n.jsx)(r.code,{children:'"LEFT_RIGHT"'})," | ",(0,n.jsx)(r.code,{children:'"TL_BR"'})]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundgradient",children:"backgroundGradient"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderwidth",children:"borderWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderwidth",children:"borderWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopwidth",children:"borderTopWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopwidth",children:"borderTopWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomwidth",children:"borderBottomWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomwidth",children:"borderBottomWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftwidth",children:"borderLeftWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftwidth",children:"borderLeftWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightwidth",children:"borderRightWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightwidth",children:"borderRightWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordercolor",children:"borderColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordercolor",children:"borderColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopcolor",children:"borderTopColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-31",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopcolor",children:"borderTopColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomcolor",children:"borderBottomColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-32",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomcolor",children:"borderBottomColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftcolor",children:"borderLeftColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-33",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftcolor",children:"borderLeftColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightcolor",children:"borderRightColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-34",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightcolor",children:"borderRightColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderradius",children:"borderRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-35",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderradius",children:"borderRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopleftradius",children:"borderTopLeftRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopLeftRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-36",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopleftradius",children:"borderTopLeftRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertoprightradius",children:"borderTopRightRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopRightRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-37",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertoprightradius",children:"borderTopRightRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomleftradius",children:"borderBottomLeftRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomLeftRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-38",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomleftradius",children:"borderBottomLeftRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomrightradius",children:"borderBottomRightRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomRightRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-39",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomrightradius",children:"borderBottomRightRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderstyle",children:"borderStyle"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderStyle"}),": ",(0,n.jsx)(r.code,{children:'"solid"'})," | ",(0,n.jsx)(r.code,{children:'"dotted"'})," | ",(0,n.jsx)(r.code,{children:'"dashed"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-40",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderstyle",children:"borderStyle"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"rotation",children:"rotation"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"rotation"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-41",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#rotation",children:"rotation"})]})]})}function a(e={}){const{wrapper:r}={...(0,d.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>l,a:()=>t});var n=i(7294);const d={},o=n.createContext(d);function t(e){const r=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:t(e.components),n.createElement(o.Provider,{value:r},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[7071],{8285:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>s,contentTitle:()=>t,default:()=>a,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var n=i(5893),d=i(1151);const o={id:"FlexWidgetStyle",title:"Interface: FlexWidgetStyle",sidebar_label:"FlexWidgetStyle",sidebar_position:0,custom_edit_url:null},t=void 0,l={id:"public-api/interfaces/FlexWidgetStyle",title:"Interface: FlexWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/FlexWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/FlexWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"FlexWidgetStyle",title:"Interface: FlexWidgetStyle",sidebar_label:"FlexWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"FlexWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps"},next:{title:"IconWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps"}},s={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"flex",id:"flex",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"flexDirection",id:"flexdirection",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"alignItems",id:"alignitems",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"justifyContent",id:"justifycontent",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"flexGap",id:"flexgap",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"flexGapColor",id:"flexgapcolor",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"overflow",id:"overflow",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-34",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-35",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-36",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-37",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-38",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-39",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-40",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-41",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"FlexStyleProps"})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,n.jsx)(r.code,{children:"CommonStyleProps"})})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"FlexWidgetStyle"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"flex",children:"flex"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"flex"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.flex"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"flexdirection",children:"flexDirection"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"flexDirection"}),": ",(0,n.jsx)(r.code,{children:'"row"'})," | ",(0,n.jsx)(r.code,{children:'"column"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.flexDirection"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"alignitems",children:"alignItems"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"alignItems"}),": ",(0,n.jsx)(r.code,{children:'"center"'})," | ",(0,n.jsx)(r.code,{children:'"flex-start"'})," | ",(0,n.jsx)(r.code,{children:'"flex-end"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.alignItems"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"justifycontent",children:"justifyContent"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"justifyContent"}),": ",(0,n.jsx)(r.code,{children:'"center"'})," | ",(0,n.jsx)(r.code,{children:'"flex-start"'})," | ",(0,n.jsx)(r.code,{children:'"flex-end"'})," | ",(0,n.jsx)(r.code,{children:'"space-between"'})," | ",(0,n.jsx)(r.code,{children:'"space-around"'})," | ",(0,n.jsx)(r.code,{children:'"space-evenly"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.justifyContent"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"flexgap",children:"flexGap"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"flexGap"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.flexGap"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"flexgapcolor",children:"flexGapColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"flexGapColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.flexGapColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"overflow",children:"overflow"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"overflow"}),": ",(0,n.jsx)(r.code,{children:'"hidden"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"FlexStyleProps.overflow"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margin",children:"margin"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"margin"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margin",children:"margin"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginhorizontal",children:"marginHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginhorizontal",children:"marginHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginvertical",children:"marginVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginvertical",children:"marginVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margintop",children:"marginTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margintop",children:"marginTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginbottom",children:"marginBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginbottom",children:"marginBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginleft",children:"marginLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginleft",children:"marginLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginright",children:"marginRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginright",children:"marginRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"padding",children:"padding"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"padding"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#padding",children:"padding"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddinghorizontal",children:"paddingHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddinghorizontal",children:"paddingHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingvertical",children:"paddingVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingvertical",children:"paddingVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingtop",children:"paddingTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingtop",children:"paddingTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingbottom",children:"paddingBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingbottom",children:"paddingBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingleft",children:"paddingLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingleft",children:"paddingLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingright",children:"paddingRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingright",children:"paddingRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"height",children:"height"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"height"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#height",children:"height"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"width",children:"width"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"width"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#width",children:"width"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundcolor",children:"backgroundColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundcolor",children:"backgroundColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundgradient",children:"backgroundGradient"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundGradient"}),": ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"from"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"to"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"orientation"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:'"TOP_BOTTOM"'})," | ",(0,n.jsx)(r.code,{children:'"TR_BL"'})," | ",(0,n.jsx)(r.code,{children:'"RIGHT_LEFT"'})," | ",(0,n.jsx)(r.code,{children:'"BR_TL"'})," | ",(0,n.jsx)(r.code,{children:'"BOTTOM_TOP"'})," | ",(0,n.jsx)(r.code,{children:'"BL_TR"'})," | ",(0,n.jsx)(r.code,{children:'"LEFT_RIGHT"'})," | ",(0,n.jsx)(r.code,{children:'"TL_BR"'})]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundgradient",children:"backgroundGradient"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderwidth",children:"borderWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderwidth",children:"borderWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopwidth",children:"borderTopWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopwidth",children:"borderTopWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomwidth",children:"borderBottomWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomwidth",children:"borderBottomWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftwidth",children:"borderLeftWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftwidth",children:"borderLeftWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightwidth",children:"borderRightWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightwidth",children:"borderRightWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordercolor",children:"borderColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordercolor",children:"borderColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopcolor",children:"borderTopColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-31",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopcolor",children:"borderTopColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomcolor",children:"borderBottomColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-32",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomcolor",children:"borderBottomColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftcolor",children:"borderLeftColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-33",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftcolor",children:"borderLeftColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightcolor",children:"borderRightColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-34",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightcolor",children:"borderRightColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderradius",children:"borderRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-35",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderradius",children:"borderRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopleftradius",children:"borderTopLeftRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopLeftRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-36",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopleftradius",children:"borderTopLeftRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertoprightradius",children:"borderTopRightRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopRightRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-37",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertoprightradius",children:"borderTopRightRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomleftradius",children:"borderBottomLeftRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomLeftRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-38",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomleftradius",children:"borderBottomLeftRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomrightradius",children:"borderBottomRightRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomRightRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-39",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomrightradius",children:"borderBottomRightRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderstyle",children:"borderStyle"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderStyle"}),": ",(0,n.jsx)(r.code,{children:'"solid"'})," | ",(0,n.jsx)(r.code,{children:'"dotted"'})," | ",(0,n.jsx)(r.code,{children:'"dashed"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-40",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderstyle",children:"borderStyle"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"rotation",children:"rotation"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"rotation"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-41",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#rotation",children:"rotation"})]})]})}function a(e={}){const{wrapper:r}={...(0,d.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>l,a:()=>t});var n=i(7294);const d={},o=n.createContext(d);function t(e){const r=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:t(e.components),n.createElement(o.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/94be2f97.03162f3c.js b/assets/js/94be2f97.7ccb10d4.js similarity index 99% rename from assets/js/94be2f97.03162f3c.js rename to assets/js/94be2f97.7ccb10d4.js index 0f20102..78e525e 100644 --- a/assets/js/94be2f97.03162f3c.js +++ b/assets/js/94be2f97.7ccb10d4.js @@ -1 +1 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[265],{6255:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>s,contentTitle:()=>t,default:()=>a,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var n=i(5893),d=i(1151);const o={id:"TextWidgetStyle",title:"Interface: TextWidgetStyle",sidebar_label:"TextWidgetStyle",sidebar_position:0,custom_edit_url:null},t=void 0,l={id:"public-api/interfaces/TextWidgetStyle",title:"Interface: TextWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/TextWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/TextWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TextWidgetStyle",title:"Interface: TextWidgetStyle",sidebar_label:"TextWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"TextWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps"},next:{title:"Widget",permalink:"/react-native-android-widget/docs/public-api/interfaces/Widget"}},s={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"color",id:"color",level:3},{value:"fontSize",id:"fontsize",level:3},{value:"fontFamily",id:"fontfamily",level:3},{value:"fontStyle",id:"fontstyle",level:3},{value:"fontWeight",id:"fontweight",level:3},{value:"adjustsFontSizeToFit",id:"adjustsfontsizetofit",level:3},{value:"textAlign",id:"textalign",level:3},{value:"letterSpacing",id:"letterspacing",level:3},{value:"textShadowColor",id:"textshadowcolor",level:3},{value:"textShadowRadius",id:"textshadowradius",level:3},{value:"textShadowOffset",id:"textshadowoffset",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-34",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,n.jsx)(r.code,{children:"CommonStyleProps"})})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"TextWidgetStyle"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"color",children:"color"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"color"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fontsize",children:"fontSize"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"fontSize"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fontfamily",children:"fontFamily"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"fontFamily"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fontstyle",children:"fontStyle"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"fontStyle"}),": ",(0,n.jsx)(r.code,{children:'"normal"'})," | ",(0,n.jsx)(r.code,{children:'"italic"'})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fontweight",children:"fontWeight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"fontWeight"}),": ",(0,n.jsx)(r.code,{children:'"bold"'})," | ",(0,n.jsx)(r.code,{children:'"normal"'})," | ",(0,n.jsx)(r.code,{children:'"100"'})," | ",(0,n.jsx)(r.code,{children:'"200"'})," | ",(0,n.jsx)(r.code,{children:'"300"'})," | ",(0,n.jsx)(r.code,{children:'"400"'})," | ",(0,n.jsx)(r.code,{children:'"500"'})," | ",(0,n.jsx)(r.code,{children:'"600"'})," | ",(0,n.jsx)(r.code,{children:'"700"'})," | ",(0,n.jsx)(r.code,{children:'"800"'})," | ",(0,n.jsx)(r.code,{children:'"900"'})]}),"\n",(0,n.jsx)(r.p,{children:"Specifies font weight. The values 'normal' and 'bold' are supported\nfor most fonts. Not all fonts have a variant for each of the numeric\nvalues, in that case the closest one is chosen."}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"adjustsfontsizetofit",children:"adjustsFontSizeToFit"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"adjustsFontSizeToFit"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"textalign",children:"textAlign"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"textAlign"}),": ",(0,n.jsx)(r.code,{children:'"center"'})," | ",(0,n.jsx)(r.code,{children:'"right"'})," | ",(0,n.jsx)(r.code,{children:'"left"'})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"letterspacing",children:"letterSpacing"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"letterSpacing"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"textshadowcolor",children:"textShadowColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"textShadowColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"textshadowradius",children:"textShadowRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"textShadowRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"textshadowoffset",children:"textShadowOffset"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"textShadowOffset"}),": ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"height"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"width"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margin",children:"margin"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"margin"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margin",children:"margin"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginhorizontal",children:"marginHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginhorizontal",children:"marginHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginvertical",children:"marginVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginvertical",children:"marginVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margintop",children:"marginTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margintop",children:"marginTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginbottom",children:"marginBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginbottom",children:"marginBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginleft",children:"marginLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginleft",children:"marginLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginright",children:"marginRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginright",children:"marginRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"padding",children:"padding"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"padding"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#padding",children:"padding"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddinghorizontal",children:"paddingHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddinghorizontal",children:"paddingHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingvertical",children:"paddingVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingvertical",children:"paddingVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingtop",children:"paddingTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingtop",children:"paddingTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingbottom",children:"paddingBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingbottom",children:"paddingBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingleft",children:"paddingLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingleft",children:"paddingLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingright",children:"paddingRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingright",children:"paddingRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"height",children:"height"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"height"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#height",children:"height"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"width",children:"width"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"width"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#width",children:"width"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundcolor",children:"backgroundColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundcolor",children:"backgroundColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundgradient",children:"backgroundGradient"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundGradient"}),": ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"type-declaration-1",children:"Type declaration"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"from"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"to"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"orientation"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:'"TOP_BOTTOM"'})," | ",(0,n.jsx)(r.code,{children:'"TR_BL"'})," | ",(0,n.jsx)(r.code,{children:'"RIGHT_LEFT"'})," | ",(0,n.jsx)(r.code,{children:'"BR_TL"'})," | ",(0,n.jsx)(r.code,{children:'"BOTTOM_TOP"'})," | ",(0,n.jsx)(r.code,{children:'"BL_TR"'})," | ",(0,n.jsx)(r.code,{children:'"LEFT_RIGHT"'})," | ",(0,n.jsx)(r.code,{children:'"TL_BR"'})]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundgradient",children:"backgroundGradient"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderwidth",children:"borderWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderwidth",children:"borderWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopwidth",children:"borderTopWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopwidth",children:"borderTopWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomwidth",children:"borderBottomWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomwidth",children:"borderBottomWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftwidth",children:"borderLeftWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftwidth",children:"borderLeftWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightwidth",children:"borderRightWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightwidth",children:"borderRightWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordercolor",children:"borderColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordercolor",children:"borderColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopcolor",children:"borderTopColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopcolor",children:"borderTopColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomcolor",children:"borderBottomColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomcolor",children:"borderBottomColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftcolor",children:"borderLeftColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftcolor",children:"borderLeftColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightcolor",children:"borderRightColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightcolor",children:"borderRightColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderradius",children:"borderRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderradius",children:"borderRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopleftradius",children:"borderTopLeftRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopLeftRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopleftradius",children:"borderTopLeftRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertoprightradius",children:"borderTopRightRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopRightRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertoprightradius",children:"borderTopRightRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomleftradius",children:"borderBottomLeftRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomLeftRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-31",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomleftradius",children:"borderBottomLeftRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomrightradius",children:"borderBottomRightRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomRightRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-32",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomrightradius",children:"borderBottomRightRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderstyle",children:"borderStyle"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderStyle"}),": ",(0,n.jsx)(r.code,{children:'"solid"'})," | ",(0,n.jsx)(r.code,{children:'"dotted"'})," | ",(0,n.jsx)(r.code,{children:'"dashed"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-33",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderstyle",children:"borderStyle"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"rotation",children:"rotation"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"rotation"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-34",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#rotation",children:"rotation"})]})]})}function a(e={}){const{wrapper:r}={...(0,d.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>l,a:()=>t});var n=i(7294);const d={},o=n.createContext(d);function t(e){const r=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:t(e.components),n.createElement(o.Provider,{value:r},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[265],{6255:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>s,contentTitle:()=>t,default:()=>a,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var n=i(5893),d=i(1151);const o={id:"TextWidgetStyle",title:"Interface: TextWidgetStyle",sidebar_label:"TextWidgetStyle",sidebar_position:0,custom_edit_url:null},t=void 0,l={id:"public-api/interfaces/TextWidgetStyle",title:"Interface: TextWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/TextWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/TextWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"TextWidgetStyle",title:"Interface: TextWidgetStyle",sidebar_label:"TextWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"TextWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps"},next:{title:"Widget",permalink:"/react-native-android-widget/docs/public-api/interfaces/Widget"}},s={},c=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"color",id:"color",level:3},{value:"fontSize",id:"fontsize",level:3},{value:"fontFamily",id:"fontfamily",level:3},{value:"fontStyle",id:"fontstyle",level:3},{value:"fontWeight",id:"fontweight",level:3},{value:"adjustsFontSizeToFit",id:"adjustsfontsizetofit",level:3},{value:"textAlign",id:"textalign",level:3},{value:"letterSpacing",id:"letterspacing",level:3},{value:"textShadowColor",id:"textshadowcolor",level:3},{value:"textShadowRadius",id:"textshadowradius",level:3},{value:"textShadowOffset",id:"textshadowoffset",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"padding",id:"padding",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"paddingHorizontal",id:"paddinghorizontal",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"paddingVertical",id:"paddingvertical",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"paddingTop",id:"paddingtop",level:3},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"paddingBottom",id:"paddingbottom",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"paddingLeft",id:"paddingleft",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"paddingRight",id:"paddingright",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration-1",level:4},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-21",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-22",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-23",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-24",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-25",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-26",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-27",level:4},{value:"borderRadius",id:"borderradius",level:3},{value:"Inherited from",id:"inherited-from-28",level:4},{value:"borderTopLeftRadius",id:"bordertopleftradius",level:3},{value:"Inherited from",id:"inherited-from-29",level:4},{value:"borderTopRightRadius",id:"bordertoprightradius",level:3},{value:"Inherited from",id:"inherited-from-30",level:4},{value:"borderBottomLeftRadius",id:"borderbottomleftradius",level:3},{value:"Inherited from",id:"inherited-from-31",level:4},{value:"borderBottomRightRadius",id:"borderbottomrightradius",level:3},{value:"Inherited from",id:"inherited-from-32",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-33",level:4},{value:"rotation",id:"rotation",level:3},{value:"Inherited from",id:"inherited-from-34",level:4}];function h(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:(0,n.jsx)(r.code,{children:"CommonStyleProps"})})}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"TextWidgetStyle"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"color",children:"color"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"color"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fontsize",children:"fontSize"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"fontSize"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fontfamily",children:"fontFamily"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"fontFamily"}),": ",(0,n.jsx)(r.code,{children:"string"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fontstyle",children:"fontStyle"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"fontStyle"}),": ",(0,n.jsx)(r.code,{children:'"normal"'})," | ",(0,n.jsx)(r.code,{children:'"italic"'})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"fontweight",children:"fontWeight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"fontWeight"}),": ",(0,n.jsx)(r.code,{children:'"bold"'})," | ",(0,n.jsx)(r.code,{children:'"normal"'})," | ",(0,n.jsx)(r.code,{children:'"100"'})," | ",(0,n.jsx)(r.code,{children:'"200"'})," | ",(0,n.jsx)(r.code,{children:'"300"'})," | ",(0,n.jsx)(r.code,{children:'"400"'})," | ",(0,n.jsx)(r.code,{children:'"500"'})," | ",(0,n.jsx)(r.code,{children:'"600"'})," | ",(0,n.jsx)(r.code,{children:'"700"'})," | ",(0,n.jsx)(r.code,{children:'"800"'})," | ",(0,n.jsx)(r.code,{children:'"900"'})]}),"\n",(0,n.jsx)(r.p,{children:"Specifies font weight. The values 'normal' and 'bold' are supported\nfor most fonts. Not all fonts have a variant for each of the numeric\nvalues, in that case the closest one is chosen."}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"adjustsfontsizetofit",children:"adjustsFontSizeToFit"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"adjustsFontSizeToFit"}),": ",(0,n.jsx)(r.code,{children:"boolean"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"textalign",children:"textAlign"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"textAlign"}),": ",(0,n.jsx)(r.code,{children:'"center"'})," | ",(0,n.jsx)(r.code,{children:'"left"'})," | ",(0,n.jsx)(r.code,{children:'"right"'})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"letterspacing",children:"letterSpacing"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"letterSpacing"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"textshadowcolor",children:"textShadowColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"textShadowColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"textshadowradius",children:"textShadowRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"textShadowRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"textshadowoffset",children:"textShadowOffset"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"textShadowOffset"}),": ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"height"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"width"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"number"})})]})]})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margin",children:"margin"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"margin"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margin",children:"margin"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginhorizontal",children:"marginHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginhorizontal",children:"marginHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginvertical",children:"marginVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginvertical",children:"marginVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margintop",children:"marginTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#margintop",children:"marginTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginbottom",children:"marginBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginbottom",children:"marginBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginleft",children:"marginLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginleft",children:"marginLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginright",children:"marginRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#marginright",children:"marginRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"padding",children:"padding"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"padding"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#padding",children:"padding"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddinghorizontal",children:"paddingHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddinghorizontal",children:"paddingHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingvertical",children:"paddingVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingvertical",children:"paddingVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingtop",children:"paddingTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingtop",children:"paddingTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingbottom",children:"paddingBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingbottom",children:"paddingBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingleft",children:"paddingLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingleft",children:"paddingLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"paddingright",children:"paddingRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"paddingRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#paddingright",children:"paddingRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"height",children:"height"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"height"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#height",children:"height"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"width",children:"width"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"width"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#width",children:"width"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundcolor",children:"backgroundColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundcolor",children:"backgroundColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundgradient",children:"backgroundGradient"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundGradient"}),": ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"type-declaration-1",children:"Type declaration"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"from"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"to"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"orientation"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:'"TOP_BOTTOM"'})," | ",(0,n.jsx)(r.code,{children:'"TR_BL"'})," | ",(0,n.jsx)(r.code,{children:'"RIGHT_LEFT"'})," | ",(0,n.jsx)(r.code,{children:'"BR_TL"'})," | ",(0,n.jsx)(r.code,{children:'"BOTTOM_TOP"'})," | ",(0,n.jsx)(r.code,{children:'"BL_TR"'})," | ",(0,n.jsx)(r.code,{children:'"LEFT_RIGHT"'})," | ",(0,n.jsx)(r.code,{children:'"TL_BR"'})]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#backgroundgradient",children:"backgroundGradient"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderwidth",children:"borderWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderwidth",children:"borderWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopwidth",children:"borderTopWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopwidth",children:"borderTopWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomwidth",children:"borderBottomWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomwidth",children:"borderBottomWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftwidth",children:"borderLeftWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftwidth",children:"borderLeftWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightwidth",children:"borderRightWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-22",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightwidth",children:"borderRightWidth"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordercolor",children:"borderColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-23",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordercolor",children:"borderColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopcolor",children:"borderTopColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-24",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopcolor",children:"borderTopColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomcolor",children:"borderBottomColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-25",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomcolor",children:"borderBottomColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftcolor",children:"borderLeftColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-26",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderleftcolor",children:"borderLeftColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightcolor",children:"borderRightColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-27",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderrightcolor",children:"borderRightColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderradius",children:"borderRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-28",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderradius",children:"borderRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopleftradius",children:"borderTopLeftRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopLeftRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-29",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertopleftradius",children:"borderTopLeftRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertoprightradius",children:"borderTopRightRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopRightRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-30",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#bordertoprightradius",children:"borderTopRightRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomleftradius",children:"borderBottomLeftRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomLeftRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-31",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomleftradius",children:"borderBottomLeftRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomrightradius",children:"borderBottomRightRadius"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomRightRadius"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-32",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderbottomrightradius",children:"borderBottomRightRadius"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderstyle",children:"borderStyle"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderStyle"}),": ",(0,n.jsx)(r.code,{children:'"solid"'})," | ",(0,n.jsx)(r.code,{children:'"dotted"'})," | ",(0,n.jsx)(r.code,{children:'"dashed"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-33",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#borderstyle",children:"borderStyle"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"rotation",children:"rotation"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"rotation"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-34",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",children:"CommonStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps#rotation",children:"rotation"})]})]})}function a(e={}){const{wrapper:r}={...(0,d.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>l,a:()=>t});var n=i(7294);const d={},o=n.createContext(d);function t(e){const r=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:t(e.components),n.createElement(o.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c377a04b.6b285835.js b/assets/js/c377a04b.6b285835.js new file mode 100644 index 0000000..ef5843e --- /dev/null +++ b/assets/js/c377a04b.6b285835.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6971],{9925:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>l,default:()=>b,frontMatter:()=>o,metadata:()=>u,toc:()=>c});var r=n(5893),a=n(1151),i=n(4866),s=n(5162);const o={sidebar_position:1,sidebar_label:"Getting Started",title:"Getting Started"},l="React Native Android Widget",u={id:"index",title:"Getting Started",description:"React Native Android Widget is an open source library for building android widgets using React Native - without touching the native side.",source:"@site/docs/index.md",sourceDirName:".",slug:"/",permalink:"/react-native-android-widget/docs/",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/index.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,sidebar_label:"Getting Started",title:"Getting Started"},sidebar:"default",next:{title:"Widget Design",permalink:"/react-native-android-widget/docs/tutorial/widget-design"}},d={},c=[{value:"Getting Started",id:"getting-started",level:2}];function h(e){const t={a:"a",h1:"h1",h2:"h2",p:"p",strong:"strong",...(0,a.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"react-native-android-widget",children:"React Native Android Widget"}),"\n",(0,r.jsx)(t.p,{children:"React Native Android Widget is an open source library for building android widgets using React Native - without touching the native side."}),"\n",(0,r.jsxs)(t.p,{children:["Get started building by installing React Native Android Widget or by following the ",(0,r.jsx)(t.a,{href:"/react-native-android-widget/docs/tutorial/widget-design",children:"Tutorial"})," to learn the main concepts."]}),"\n",(0,r.jsx)(t.h2,{id:"getting-started",children:"Getting Started"}),"\n",(0,r.jsxs)(t.p,{children:["Get started by ",(0,r.jsx)(t.strong,{children:"installing the library"}),"."]}),"\n","\n","\n",(0,r.jsxs)(i.Z,{children:[(0,r.jsx)(s.Z,{value:"npm",label:"npm",default:!0,children:(0,r.jsx)("pre",{children:"npm install --save react-native-android-widget"})}),(0,r.jsx)(s.Z,{value:"yarn",label:"yarn",children:(0,r.jsx)("pre",{children:"yarn add react-native-android-widget"})})]})]})}function b(e={}){const{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},5162:(e,t,n)=>{n.d(t,{Z:()=>s});n(7294);var r=n(512);const a={tabItem:"tabItem_Ymn6"};var i=n(5893);function s(e){let{children:t,hidden:n,className:s}=e;return(0,i.jsx)("div",{role:"tabpanel",className:(0,r.Z)(a.tabItem,s),hidden:n,children:t})}},4866:(e,t,n)=>{n.d(t,{Z:()=>j});var r=n(7294),a=n(512),i=n(2466),s=n(6550),o=n(469),l=n(1980),u=n(7392),d=n(12);function c(e){return r.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,r.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function h(e){const{values:t,children:n}=e;return(0,r.useMemo)((()=>{const e=t??function(e){return c(e).map((e=>{let{props:{value:t,label:n,attributes:r,default:a}}=e;return{value:t,label:n,attributes:r,default:a}}))}(n);return function(e){const t=(0,u.l)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[t,n])}function b(e){let{value:t,tabValues:n}=e;return n.some((e=>e.value===t))}function p(e){let{queryString:t=!1,groupId:n}=e;const a=(0,s.k6)(),i=function(e){let{queryString:t=!1,groupId:n}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!n)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:t,groupId:n});return[(0,l._X)(i),(0,r.useCallback)((e=>{if(!i)return;const t=new URLSearchParams(a.location.search);t.set(i,e),a.replace({...a.location,search:t.toString()})}),[i,a])]}function g(e){const{defaultValue:t,queryString:n=!1,groupId:a}=e,i=h(e),[s,l]=(0,r.useState)((()=>function(e){let{defaultValue:t,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the component requires at least one children component");if(t){if(!b({value:t,tabValues:n}))throw new Error(`Docusaurus error: The has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const r=n.find((e=>e.default))??n[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:t,tabValues:i}))),[u,c]=p({queryString:n,groupId:a}),[g,f]=function(e){let{groupId:t}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(t),[a,i]=(0,d.Nk)(n);return[a,(0,r.useCallback)((e=>{n&&i.set(e)}),[n,i])]}({groupId:a}),v=(()=>{const e=u??g;return b({value:e,tabValues:i})?e:null})();(0,o.Z)((()=>{v&&l(v)}),[v]);return{selectedValue:s,selectValue:(0,r.useCallback)((e=>{if(!b({value:e,tabValues:i}))throw new Error(`Can't select invalid tab value=${e}`);l(e),c(e),f(e)}),[c,f,i]),tabValues:i}}var f=n(2389);const v={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var m=n(5893);function w(e){let{className:t,block:n,selectedValue:r,selectValue:s,tabValues:o}=e;const l=[],{blockElementScrollPositionUntilNextRender:u}=(0,i.o5)(),d=e=>{const t=e.currentTarget,n=l.indexOf(t),a=o[n].value;a!==r&&(u(t),s(a))},c=e=>{let t=null;switch(e.key){case"Enter":d(e);break;case"ArrowRight":{const n=l.indexOf(e.currentTarget)+1;t=l[n]??l[0];break}case"ArrowLeft":{const n=l.indexOf(e.currentTarget)-1;t=l[n]??l[l.length-1];break}}t?.focus()};return(0,m.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.Z)("tabs",{"tabs--block":n},t),children:o.map((e=>{let{value:t,label:n,attributes:i}=e;return(0,m.jsx)("li",{role:"tab",tabIndex:r===t?0:-1,"aria-selected":r===t,ref:e=>l.push(e),onKeyDown:c,onClick:d,...i,className:(0,a.Z)("tabs__item",v.tabItem,i?.className,{"tabs__item--active":r===t}),children:n??t},t)}))})}function x(e){let{lazy:t,children:n,selectedValue:a}=e;const i=(Array.isArray(n)?n:[n]).filter(Boolean);if(t){const e=i.find((e=>e.props.value===a));return e?(0,r.cloneElement)(e,{className:"margin-top--md"}):null}return(0,m.jsx)("div",{className:"margin-top--md",children:i.map(((e,t)=>(0,r.cloneElement)(e,{key:t,hidden:e.props.value!==a})))})}function y(e){const t=g(e);return(0,m.jsxs)("div",{className:(0,a.Z)("tabs-container",v.tabList),children:[(0,m.jsx)(w,{...e,...t}),(0,m.jsx)(x,{...e,...t})]})}function j(e){const t=(0,f.Z)();return(0,m.jsx)(y,{...e,children:c(e.children)},String(t))}},1151:(e,t,n)=>{n.d(t,{Z:()=>o,a:()=>s});var r=n(7294);const a={},i=r.createContext(a);function s(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c377a04b.d499c0f1.js b/assets/js/c377a04b.d499c0f1.js deleted file mode 100644 index baeaeb7..0000000 --- a/assets/js/c377a04b.d499c0f1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[6971],{2660:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>T,contentTitle:()=>I,default:()=>A,frontMatter:()=>V,metadata:()=>S,toc:()=>E});var r=n(5893),a=n(1151),i=n(7294),s=n(512),o=n(2466),l=n(6550),u=n(469),d=n(1980),c=n(7392),h=n(12);function b(e){return i.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,i.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function p(e){const{values:t,children:n}=e;return(0,i.useMemo)((()=>{const e=t??function(e){return b(e).map((e=>{let{props:{value:t,label:n,attributes:r,default:a}}=e;return{value:t,label:n,attributes:r,default:a}}))}(n);return function(e){const t=(0,c.l)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[t,n])}function g(e){let{value:t,tabValues:n}=e;return n.some((e=>e.value===t))}function f(e){let{queryString:t=!1,groupId:n}=e;const r=(0,l.k6)(),a=function(e){let{queryString:t=!1,groupId:n}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!n)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:t,groupId:n});return[(0,d._X)(a),(0,i.useCallback)((e=>{if(!a)return;const t=new URLSearchParams(r.location.search);t.set(a,e),r.replace({...r.location,search:t.toString()})}),[a,r])]}function m(e){const{defaultValue:t,queryString:n=!1,groupId:r}=e,a=p(e),[s,o]=(0,i.useState)((()=>function(e){let{defaultValue:t,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the component requires at least one children component");if(t){if(!g({value:t,tabValues:n}))throw new Error(`Docusaurus error: The has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const r=n.find((e=>e.default))??n[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:t,tabValues:a}))),[l,d]=f({queryString:n,groupId:r}),[c,b]=function(e){let{groupId:t}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(t),[r,a]=(0,h.Nk)(n);return[r,(0,i.useCallback)((e=>{n&&a.set(e)}),[n,a])]}({groupId:r}),m=(()=>{const e=l??c;return g({value:e,tabValues:a})?e:null})();(0,u.Z)((()=>{m&&o(m)}),[m]);return{selectedValue:s,selectValue:(0,i.useCallback)((e=>{if(!g({value:e,tabValues:a}))throw new Error(`Can't select invalid tab value=${e}`);o(e),d(e),b(e)}),[d,b,a]),tabValues:a}}var v=n(2389);const w={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};function x(e){let{className:t,block:n,selectedValue:a,selectValue:i,tabValues:l}=e;const u=[],{blockElementScrollPositionUntilNextRender:d}=(0,o.o5)(),c=e=>{const t=e.currentTarget,n=u.indexOf(t),r=l[n].value;r!==a&&(d(t),i(r))},h=e=>{let t=null;switch(e.key){case"Enter":c(e);break;case"ArrowRight":{const n=u.indexOf(e.currentTarget)+1;t=u[n]??u[0];break}case"ArrowLeft":{const n=u.indexOf(e.currentTarget)-1;t=u[n]??u[u.length-1];break}}t?.focus()};return(0,r.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,s.Z)("tabs",{"tabs--block":n},t),children:l.map((e=>{let{value:t,label:n,attributes:i}=e;return(0,r.jsx)("li",{role:"tab",tabIndex:a===t?0:-1,"aria-selected":a===t,ref:e=>u.push(e),onKeyDown:h,onClick:c,...i,className:(0,s.Z)("tabs__item",w.tabItem,i?.className,{"tabs__item--active":a===t}),children:n??t},t)}))})}function y(e){let{lazy:t,children:n,selectedValue:a}=e;const s=(Array.isArray(n)?n:[n]).filter(Boolean);if(t){const e=s.find((e=>e.props.value===a));return e?(0,i.cloneElement)(e,{className:"margin-top--md"}):null}return(0,r.jsx)("div",{className:"margin-top--md",children:s.map(((e,t)=>(0,i.cloneElement)(e,{key:t,hidden:e.props.value!==a})))})}function j(e){const t=m(e);return(0,r.jsxs)("div",{className:(0,s.Z)("tabs-container",w.tabList),children:[(0,r.jsx)(x,{...e,...t}),(0,r.jsx)(y,{...e,...t})]})}function k(e){const t=(0,v.Z)();return(0,r.jsx)(j,{...e,children:b(e.children)},String(t))}const _={tabItem:"tabItem_Ymn6"};function N(e){let{children:t,hidden:n,className:a}=e;return(0,r.jsx)("div",{role:"tabpanel",className:(0,s.Z)(_.tabItem,a),hidden:n,children:t})}const V={sidebar_position:1,sidebar_label:"Getting Started",title:"Getting Started"},I="React Native Android Widget",S={id:"index",title:"Getting Started",description:"React Native Android Widget is an open source library for building android widgets using React Native - without touching the native side.",source:"@site/docs/index.md",sourceDirName:".",slug:"/",permalink:"/react-native-android-widget/docs/",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/index.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,sidebar_label:"Getting Started",title:"Getting Started"},sidebar:"default",next:{title:"Widget Design",permalink:"/react-native-android-widget/docs/tutorial/widget-design"}},T={},E=[{value:"Getting Started",id:"getting-started",level:2}];function q(e){const t={a:"a",h1:"h1",h2:"h2",p:"p",strong:"strong",...(0,a.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"react-native-android-widget",children:"React Native Android Widget"}),"\n",(0,r.jsx)(t.p,{children:"React Native Android Widget is an open source library for building android widgets using React Native - without touching the native side."}),"\n",(0,r.jsxs)(t.p,{children:["Get started building by installing React Native Android Widget or by following the ",(0,r.jsx)(t.a,{href:"/react-native-android-widget/docs/tutorial/widget-design",children:"Tutorial"})," to learn the main concepts."]}),"\n",(0,r.jsx)(t.h2,{id:"getting-started",children:"Getting Started"}),"\n",(0,r.jsxs)(t.p,{children:["Get started by ",(0,r.jsx)(t.strong,{children:"installing the library"}),"."]}),"\n","\n","\n",(0,r.jsxs)(k,{children:[(0,r.jsx)(N,{value:"npm",label:"npm",default:!0,children:(0,r.jsx)("pre",{children:"npm install --save react-native-android-widget"})}),(0,r.jsx)(N,{value:"yarn",label:"yarn",children:(0,r.jsx)("pre",{children:"yarn add react-native-android-widget"})})]})]})}function A(e={}){const{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(q,{...e})}):q(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>o,a:()=>s});var r=n(7294);const a={},i=r.createContext(a);function s(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d5b87c6b.06308e0d.js b/assets/js/d5b87c6b.01046f78.js similarity index 84% rename from assets/js/d5b87c6b.06308e0d.js rename to assets/js/d5b87c6b.01046f78.js index aba8d8d..030852d 100644 --- a/assets/js/d5b87c6b.06308e0d.js +++ b/assets/js/d5b87c6b.01046f78.js @@ -1 +1 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[2386],{4768:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>c,contentTitle:()=>l,default:()=>a,frontMatter:()=>t,metadata:()=>o,toc:()=>h});var n=i(5893),d=i(1151);const t={id:"ListWidgetStyle",title:"Interface: ListWidgetStyle",sidebar_label:"ListWidgetStyle",sidebar_position:0,custom_edit_url:null},l=void 0,o={id:"public-api/interfaces/ListWidgetStyle",title:"Interface: ListWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/ListWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/ListWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ListWidgetStyle",title:"Interface: ListWidgetStyle",sidebar_label:"ListWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"ListWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps"},next:{title:"MarginStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-21",level:4}];function s(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:(0,n.jsx)(r.code,{children:"MarginStyleProps"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",children:(0,n.jsx)(r.code,{children:"SizeStyleProps"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",children:(0,n.jsx)(r.code,{children:"BackgroundStyleProps"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"Omit"}),"<",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:(0,n.jsx)(r.code,{children:"BorderStyleProps"})}),", `${string}Radius`>"]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"ListWidgetStyle"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"margin",children:"margin"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"margin"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#margin",children:"margin"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginhorizontal",children:"marginHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginhorizontal",children:"marginHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginvertical",children:"marginVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginvertical",children:"marginVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margintop",children:"marginTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#margintop",children:"marginTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginbottom",children:"marginBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginbottom",children:"marginBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginleft",children:"marginLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginleft",children:"marginLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginright",children:"marginRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginright",children:"marginRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"height",children:"height"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"height"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",children:"SizeStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps#height",children:"height"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"width",children:"width"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"width"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",children:"SizeStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps#width",children:"width"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundcolor",children:"backgroundColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",children:"BackgroundStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps#backgroundcolor",children:"backgroundColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundgradient",children:"backgroundGradient"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundGradient"}),": ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"from"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"to"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"orientation"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:'"TOP_BOTTOM"'})," | ",(0,n.jsx)(r.code,{children:'"TR_BL"'})," | ",(0,n.jsx)(r.code,{children:'"RIGHT_LEFT"'})," | ",(0,n.jsx)(r.code,{children:'"BR_TL"'})," | ",(0,n.jsx)(r.code,{children:'"BOTTOM_TOP"'})," | ",(0,n.jsx)(r.code,{children:'"BL_TR"'})," | ",(0,n.jsx)(r.code,{children:'"LEFT_RIGHT"'})," | ",(0,n.jsx)(r.code,{children:'"TL_BR"'})]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",children:"BackgroundStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps#backgroundgradient",children:"backgroundGradient"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomcolor",children:"borderBottomColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderBottomColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftcolor",children:"borderLeftColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderLeftColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightcolor",children:"borderRightColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderRightColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderstyle",children:"borderStyle"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderStyle"}),": ",(0,n.jsx)(r.code,{children:'"solid"'})," | ",(0,n.jsx)(r.code,{children:'"dotted"'})," | ",(0,n.jsx)(r.code,{children:'"dashed"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderStyle"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopcolor",children:"borderTopColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderTopColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomwidth",children:"borderBottomWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderBottomWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightwidth",children:"borderRightWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderRightWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderwidth",children:"borderWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftwidth",children:"borderLeftWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderLeftWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopwidth",children:"borderTopWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderTopWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordercolor",children:"borderColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderColor"})]})}function a(e={}){const{wrapper:r}={...(0,d.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(s,{...e})}):s(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>o,a:()=>l});var n=i(7294);const d={},t=n.createContext(d);function l(e){const r=n.useContext(t);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function o(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:l(e.components),n.createElement(t.Provider,{value:r},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[2386],{4768:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>c,contentTitle:()=>l,default:()=>a,frontMatter:()=>t,metadata:()=>o,toc:()=>h});var n=i(5893),d=i(1151);const t={id:"ListWidgetStyle",title:"Interface: ListWidgetStyle",sidebar_label:"ListWidgetStyle",sidebar_position:0,custom_edit_url:null},l=void 0,o={id:"public-api/interfaces/ListWidgetStyle",title:"Interface: ListWidgetStyle",description:"Hierarchy",source:"@site/docs/public-api/interfaces/ListWidgetStyle.md",sourceDirName:"public-api/interfaces",slug:"/public-api/interfaces/ListWidgetStyle",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle",draft:!1,unlisted:!1,editUrl:null,tags:[],version:"current",sidebarPosition:0,frontMatter:{id:"ListWidgetStyle",title:"Interface: ListWidgetStyle",sidebar_label:"ListWidgetStyle",sidebar_position:0,custom_edit_url:null},sidebar:"api",previous:{title:"ListWidgetProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps"},next:{title:"MarginStyleProps",permalink:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps"}},c={},h=[{value:"Hierarchy",id:"hierarchy",level:2},{value:"Properties",id:"properties",level:2},{value:"margin",id:"margin",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"marginHorizontal",id:"marginhorizontal",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"marginVertical",id:"marginvertical",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"marginTop",id:"margintop",level:3},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"marginBottom",id:"marginbottom",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"marginLeft",id:"marginleft",level:3},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"marginRight",id:"marginright",level:3},{value:"Inherited from",id:"inherited-from-6",level:4},{value:"height",id:"height",level:3},{value:"Inherited from",id:"inherited-from-7",level:4},{value:"width",id:"width",level:3},{value:"Inherited from",id:"inherited-from-8",level:4},{value:"backgroundColor",id:"backgroundcolor",level:3},{value:"Inherited from",id:"inherited-from-9",level:4},{value:"backgroundGradient",id:"backgroundgradient",level:3},{value:"Type declaration",id:"type-declaration",level:4},{value:"Inherited from",id:"inherited-from-10",level:4},{value:"borderBottomColor",id:"borderbottomcolor",level:3},{value:"Inherited from",id:"inherited-from-11",level:4},{value:"borderLeftColor",id:"borderleftcolor",level:3},{value:"Inherited from",id:"inherited-from-12",level:4},{value:"borderRightColor",id:"borderrightcolor",level:3},{value:"Inherited from",id:"inherited-from-13",level:4},{value:"borderStyle",id:"borderstyle",level:3},{value:"Inherited from",id:"inherited-from-14",level:4},{value:"borderTopColor",id:"bordertopcolor",level:3},{value:"Inherited from",id:"inherited-from-15",level:4},{value:"borderColor",id:"bordercolor",level:3},{value:"Inherited from",id:"inherited-from-16",level:4},{value:"borderWidth",id:"borderwidth",level:3},{value:"Inherited from",id:"inherited-from-17",level:4},{value:"borderTopWidth",id:"bordertopwidth",level:3},{value:"Inherited from",id:"inherited-from-18",level:4},{value:"borderLeftWidth",id:"borderleftwidth",level:3},{value:"Inherited from",id:"inherited-from-19",level:4},{value:"borderRightWidth",id:"borderrightwidth",level:3},{value:"Inherited from",id:"inherited-from-20",level:4},{value:"borderBottomWidth",id:"borderbottomwidth",level:3},{value:"Inherited from",id:"inherited-from-21",level:4}];function s(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"hierarchy",children:"Hierarchy"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:(0,n.jsx)(r.code,{children:"MarginStyleProps"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",children:(0,n.jsx)(r.code,{children:"SizeStyleProps"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",children:(0,n.jsx)(r.code,{children:"BackgroundStyleProps"})})}),"\n"]}),"\n",(0,n.jsxs)(r.li,{children:["\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.code,{children:"Omit"}),"<",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",children:(0,n.jsx)(r.code,{children:"BorderStyleProps"})}),", `${string}Radius`>"]}),"\n",(0,n.jsxs)(r.p,{children:["\u21b3 ",(0,n.jsx)(r.strong,{children:(0,n.jsx)(r.code,{children:"ListWidgetStyle"})})]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsx)(r.h3,{id:"margin",children:"margin"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"margin"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#margin",children:"margin"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginhorizontal",children:"marginHorizontal"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginHorizontal"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginhorizontal",children:"marginHorizontal"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginvertical",children:"marginVertical"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginVertical"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginvertical",children:"marginVertical"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"margintop",children:"marginTop"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginTop"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#margintop",children:"marginTop"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginbottom",children:"marginBottom"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginBottom"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginbottom",children:"marginBottom"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginleft",children:"marginLeft"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginLeft"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginleft",children:"marginLeft"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"marginright",children:"marginRight"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"marginRight"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-6",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",children:"MarginStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps#marginright",children:"marginRight"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"height",children:"height"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"height"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-7",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",children:"SizeStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps#height",children:"height"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"width",children:"width"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"width"}),": ",(0,n.jsx)(r.code,{children:"number"})," | ",(0,n.jsx)(r.code,{children:'"wrap_content"'})," | ",(0,n.jsx)(r.code,{children:'"match_parent"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-8",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",children:"SizeStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps#width",children:"width"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundcolor",children:"backgroundColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-9",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",children:"BackgroundStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps#backgroundcolor",children:"backgroundColor"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"backgroundgradient",children:"backgroundGradient"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"backgroundGradient"}),": ",(0,n.jsx)(r.code,{children:"Object"})]}),"\n",(0,n.jsx)(r.h4,{id:"type-declaration",children:"Type declaration"}),"\n",(0,n.jsxs)(r.table,{children:[(0,n.jsx)(r.thead,{children:(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Name"}),(0,n.jsx)(r.th,{style:{textAlign:"left"},children:"Type"})]})}),(0,n.jsxs)(r.tbody,{children:[(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"from"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"to"})}),(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.a,{href:"../#colorprop",children:(0,n.jsx)(r.code,{children:"ColorProp"})})})]}),(0,n.jsxs)(r.tr,{children:[(0,n.jsx)(r.td,{style:{textAlign:"left"},children:(0,n.jsx)(r.code,{children:"orientation"})}),(0,n.jsxs)(r.td,{style:{textAlign:"left"},children:[(0,n.jsx)(r.code,{children:'"TOP_BOTTOM"'})," | ",(0,n.jsx)(r.code,{children:'"TR_BL"'})," | ",(0,n.jsx)(r.code,{children:'"RIGHT_LEFT"'})," | ",(0,n.jsx)(r.code,{children:'"BR_TL"'})," | ",(0,n.jsx)(r.code,{children:'"BOTTOM_TOP"'})," | ",(0,n.jsx)(r.code,{children:'"BL_TR"'})," | ",(0,n.jsx)(r.code,{children:'"LEFT_RIGHT"'})," | ",(0,n.jsx)(r.code,{children:'"TL_BR"'})]})]})]})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-10",children:"Inherited from"}),"\n",(0,n.jsxs)(r.p,{children:[(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",children:"BackgroundStyleProps"}),".",(0,n.jsx)(r.a,{href:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps#backgroundgradient",children:"backgroundGradient"})]}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomcolor",children:"borderBottomColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-11",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderBottomColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftcolor",children:"borderLeftColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-12",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderLeftColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightcolor",children:"borderRightColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-13",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderRightColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderstyle",children:"borderStyle"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderStyle"}),": ",(0,n.jsx)(r.code,{children:'"solid"'})," | ",(0,n.jsx)(r.code,{children:'"dotted"'})," | ",(0,n.jsx)(r.code,{children:'"dashed"'})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-14",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderStyle"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopcolor",children:"borderTopColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-15",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderTopColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordercolor",children:"borderColor"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderColor"}),": `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`"]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-16",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderColor"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderwidth",children:"borderWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-17",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"bordertopwidth",children:"borderTopWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderTopWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-18",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderTopWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderleftwidth",children:"borderLeftWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderLeftWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-19",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderLeftWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderrightwidth",children:"borderRightWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderRightWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-20",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderRightWidth"}),"\n",(0,n.jsx)(r.hr,{}),"\n",(0,n.jsx)(r.h3,{id:"borderbottomwidth",children:"borderBottomWidth"}),"\n",(0,n.jsxs)(r.p,{children:["\u2022 ",(0,n.jsx)(r.code,{children:"Optional"})," ",(0,n.jsx)(r.strong,{children:"borderBottomWidth"}),": ",(0,n.jsx)(r.code,{children:"number"})]}),"\n",(0,n.jsx)(r.h4,{id:"inherited-from-21",children:"Inherited from"}),"\n",(0,n.jsx)(r.p,{children:"Omit.borderBottomWidth"})]})}function a(e={}){const{wrapper:r}={...(0,d.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(s,{...e})}):s(e)}},1151:(e,r,i)=>{i.d(r,{Z:()=>o,a:()=>l});var n=i(7294);const d={},t=n.createContext(d);function l(e){const r=n.useContext(t);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function o(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:l(e.components),n.createElement(t.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f477c445.65475447.js b/assets/js/f477c445.65475447.js deleted file mode 100644 index 9e7406f..0000000 --- a/assets/js/f477c445.65475447.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9990],{5733:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>o,contentTitle:()=>a,default:()=>g,frontMatter:()=>r,metadata:()=>s,toc:()=>l});var d=n(5893),t=n(1151);const r={sidebar_position:4},a="Register widget",s={id:"tutorial/register-widget",title:"Register widget",description:"In order to register our widget so that it can be selected from the launchers widget picker, we need to tell the android app some information about the widget.",source:"@site/docs/tutorial/register-widget.md",sourceDirName:"tutorial",slug:"/tutorial/register-widget",permalink:"/react-native-android-widget/docs/tutorial/register-widget",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/register-widget.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"default",previous:{title:"Register task handler",permalink:"/react-native-android-widget/docs/tutorial/register-task-handler"},next:{title:"Register widget in Expo",permalink:"/react-native-android-widget/docs/tutorial/register-widget-expo"}},o={},l=[{value:"Add a widget provider class",id:"add-a-widget-provider-class",level:2},{value:"Create widget preview image",id:"create-widget-preview-image",level:2},{value:"Add widget description string (Optional)",id:"add-widget-description-string-optional",level:2},{value:"Add a widget provider xml file",id:"add-a-widget-provider-xml-file",level:2},{value:"Add services in AndroidManifest.xml",id:"add-services-in-androidmanifestxml",level:2},{value:"Add widget receiver in AndroidManifest.xml",id:"add-widget-receiver-in-androidmanifestxml",level:2},{value:"Add custom fonts used in widgets",id:"add-custom-fonts-used-in-widgets",level:2}];function c(e){const i={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,t.a)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.h1,{id:"register-widget",children:"Register widget"}),"\n",(0,d.jsx)(i.p,{children:"In order to register our widget so that it can be selected from the launchers widget picker, we need to tell the android app some information about the widget."}),"\n",(0,d.jsx)(i.h2,{id:"add-a-widget-provider-class",children:"Add a widget provider class"}),"\n",(0,d.jsxs)(i.p,{children:["Create a new package ",(0,d.jsx)(i.code,{children:"widget"})," in the native android app. Inside it create a class ",(0,d.jsx)(i.code,{children:"Hello.java"})]}),"\n",(0,d.jsx)(i.pre,{children:(0,d.jsx)(i.code,{className:"language-java",metastring:'title="android/app/src/main/java/com/yourapppackage/widget/Hello.java"',children:"package com.yourapppackage.widget;\n\nimport com.reactnativeandroidwidget.RNWidgetProvider;\n\npublic class Hello extends RNWidgetProvider {\n}\n"})}),"\n",(0,d.jsxs)(i.p,{children:["The class ",(0,d.jsx)(i.strong,{children:"name"})," will be used to reference our widget."]}),"\n",(0,d.jsx)(i.h2,{id:"create-widget-preview-image",children:"Create widget preview image"}),"\n",(0,d.jsx)(i.p,{children:"When the android launcher shows the widget select popup, we can show a screenshot of our widget to give the user an idea what the widget looks like."}),"\n",(0,d.jsxs)(i.p,{children:["Take a screenshot of the widget, and place it inside ",(0,d.jsx)(i.code,{children:"android/app/src/main/res/drawable/hello_preview.png"})]}),"\n",(0,d.jsx)("pre",{children:"android/app/src/main/res/drawable/hello_preview.png"}),"\n",(0,d.jsx)(i.p,{children:(0,d.jsx)(i.img,{alt:"Hello Widget Preview",src:n(6945).Z+"",width:"327",height:"208"})}),"\n",(0,d.jsx)(i.h2,{id:"add-widget-description-string-optional",children:"Add widget description string (Optional)"}),"\n",(0,d.jsxs)(i.p,{children:["When the android launcher shows the widget select popup, under the name of the widget it can show an optional description about the widget. If we want to show a description for our widget, we need to add a description string in ",(0,d.jsx)(i.code,{children:"strings.xml"})]}),"\n",(0,d.jsx)(i.pre,{children:(0,d.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/res/values/strings.xml"',children:'\n\n My App Name\n This is my first widget\n\n'})}),"\n",(0,d.jsx)(i.h2,{id:"add-a-widget-provider-xml-file",children:"Add a widget provider xml file"}),"\n",(0,d.jsx)(i.p,{children:"Create a new xml file in the resources directory containing the details about the widget."}),"\n",(0,d.jsx)(i.pre,{children:(0,d.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/res/xml/widgetprovider_hello.xml"',children:'\n\n\n'})}),"\n",(0,d.jsxs)(i.ul,{children:["\n",(0,d.jsxs)(i.li,{children:[(0,d.jsx)(i.code,{children:"android:updatePeriodMillis"})," How often, in milliseconds, that this AppWidget wants to be updated. The task handler will be called with ",(0,d.jsx)(i.code,{children:"widgetAction = 'UPDATE_WIDGET'"}),". See the official docs ",(0,d.jsx)(i.a,{href:"https://developer.android.com/reference/android/appwidget/AppWidgetProviderInfo.html#updatePeriodMillis",children:"here"})]}),"\n",(0,d.jsxs)(i.li,{children:[(0,d.jsx)(i.code,{children:"android:previewImage"})," should reference the preview image we added previously"]}),"\n",(0,d.jsxs)(i.li,{children:[(0,d.jsx)(i.code,{children:"android:description"})," can be added or not, depending on if we added a description in the previous step"]}),"\n"]}),"\n",(0,d.jsx)(i.h2,{id:"add-services-in-androidmanifestxml",children:"Add services in AndroidManifest.xml"}),"\n",(0,d.jsxs)(i.p,{children:["In order to use the ",(0,d.jsx)(i.a,{href:"/react-native-android-widget/docs/primitives/list-widget",children:"ListWidget"})," we need to add a ",(0,d.jsx)(i.code,{children:"RNWidgetCollectionService"})," service."]}),"\n",(0,d.jsxs)(i.p,{children:["Under the application section in the manifest, add a new ",(0,d.jsx)(i.code,{children:"RNWidgetCollectionService"})," service. This service will be shared between all widgets, so it needs to be added only once."]}),"\n",(0,d.jsx)(i.pre,{children:(0,d.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/AndroidManifest.xml"',children:'\n ...\n \n\n \n \n\n \n \n\n'})}),"\n",(0,d.jsx)(i.h2,{id:"add-widget-receiver-in-androidmanifestxml",children:"Add widget receiver in AndroidManifest.xml"}),"\n",(0,d.jsx)(i.p,{children:"Finally, we need to add a receiver for our widget, that will receive system events (like widget added, widget resized...)"}),"\n",(0,d.jsxs)(i.p,{children:["In ",(0,d.jsx)(i.code,{children:"AndroidManifest.xml"}),", add a receiver for the widget"]}),"\n",(0,d.jsx)(i.pre,{children:(0,d.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/AndroidManifest.xml"',children:'\n ...\n \n\n \n \n\n \n\n \n \n \n \n \n \n \n \n\n'})}),"\n",(0,d.jsx)(i.p,{children:"For the receiver"}),"\n",(0,d.jsxs)(i.ul,{children:["\n",(0,d.jsxs)(i.li,{children:[(0,d.jsx)(i.code,{children:"android:name"})," myst be ",(0,d.jsx)(i.code,{children:".widget.WidgetName"})," (same as the Java class extending ",(0,d.jsx)(i.code,{children:"RNWidgetProvider"}),")"]}),"\n",(0,d.jsxs)(i.li,{children:[(0,d.jsx)(i.code,{children:"android:label"})," will be shown in the widget picker"]}),"\n"]}),"\n",(0,d.jsx)(i.h2,{id:"add-custom-fonts-used-in-widgets",children:"Add custom fonts used in widgets"}),"\n",(0,d.jsxs)(i.p,{children:["If we used a custom font in our widget, we must copy the font file(s) to ",(0,d.jsx)(i.code,{children:"android/app/src/main/assets/fonts"}),". The ",(0,d.jsx)(i.code,{children:"fontFamily"})," style prop will match the file by name."]}),"\n",(0,d.jsxs)(i.p,{children:["For example, ",(0,d.jsx)(i.code,{children:"android/app/src/main/assets/fonts/Inter.ttf"})]})]})}function g(e={}){const{wrapper:i}={...(0,t.a)(),...e.components};return i?(0,d.jsx)(i,{...e,children:(0,d.jsx)(c,{...e})}):c(e)}},6945:(e,i,n)=>{n.d(i,{Z:()=>d});const d="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUcAAADQCAYAAACUXaMkAAAABHNCSVQICAgIfAhkiAAACTdJREFUeJzt3UtoXAUbgOFvJslMc/FSFItCK1YqUhAiukh0YV0o1p3QhZeVgiAiuhJERJGibkSxbisKgghqiYvWhYIomjYgqLgRrCItKO1CzMUkc0nmX0iHhn7NP5PMJBn7PBA4J+cyX6F9OWfmJC3MzMw0AoAVips9AMBWJI4ACXEESIgjQEIcARLiCJDo7/YLFAqFbr8EcIlqNLr3JGLH41gul6NUKnX6tACrqlarUalUOna+jsSxUCjE0NBQFIvu0oHNUSqVolQqxfLycszPz6/7qnLdcXSlCGwlxWIxRkZG1n0lua5LveHhYWEEtqRSqRTDw8NrPn7NcRweHnYbDWxpxWJxzYFcU90GBweFEegJxWIxBgcH2z+u3QMGBgaiv7/rTwABdEx/f3/b3Wo7jtu2bWv3EIBN1+7VY1txLJfLbZ0cYCtpp2FtxdEn00Ava6dhPlUBSLQcR+81Av8Frbas5Tj6hBr4L2i1ZS3H0W/XAf4LWm2Z9xwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCMxPj4eY2NjMTY2FsePH2/5uMnJyeZxY2NjXZvvjz/+WPV1Dh482Nz23HPPdW0OLi39mz0Am29qaioajUZERExPT7d83PT0dExNTXVrrKZKpbLq6/z222/N7dddd13X5+HS4MoRICGOAAlxBEh4z5ENV6vVYmlpKfr6+mJgYGBTZlheXo56vR7Ly8vR398f/f3+KbCSK0c2zPj4eJRKpSiVSjE4OBilUikGBgbijjvu2LAZfvnll7jiiiuir68vyuVyDA4OxsDAQAwNDcWLL764YXOw9YkjXff5559HoVCIEydORK1WW7GtXq/H8ePHo6+vL7744ouuznHnnXfGTTfdFDMzMxdsW1hYiIMHD8bQ0FAsLCx0dQ56g3sJumpycjLuvffe5nqhUIgnn3wy9u7dGz///HO8/fbbEfHvbe4999wTp06dip07d3Z8jltvvTV++OGH5nq5XI4nnngitm/fHhMTE81tCwsLcfnll18QcS494khX3X333c3lAwcOxEcffbRi+6FDh+LAgQPxySefRETErl27ms9cdsqRI0dWhPGtt96Kp59+urn+0ksvxenTp2P37t1Rr9ejXq/Hjh074syZMx2dg97itpoV9u/fH4VCoaWv+++/f9Vzvf7661GtViMiYs+ePReE8ZyPP/44SqVSc/2nn37q3B8oIh5++OHm8iOPPLIijOfs3Lkzfvzxx+b62bNn4++//+7oHPQWcaRr3njjjebyxMTEqvu+//77zeU333yzYzPMz89HpVJprr/zzjsX3Xfv3r2xffv25vqzzz7bsTnoPeJI1/z555/N5ZtvvjmWl5cv+nX77bc393333Xc7NsOnn37aXC4UClEul1fd//xPrA8fPtyxOeg94sgKx44dWzVi538dPXq05fP29fWt+nXjjTd25c/z7bffNpfPf//zYsbHx7syB73HBzKscO79xFb33erOf//ymmuu+b/7j4yMdHMceog4siG+/PLLTXnd0dHR+PrrryNi5W3+xWTPQHJpEkc2xL59+zblde+66644dOhQRER89dVX/3f/b775ptsj0SO850jX7Nixo7l87NixTZnhvvvuW7E+Nze36v6vvPJKc/mZZ57pykz0BnGka5566qnm8mOPPbbqvo8//ngUi8V49NFHY3JysmMzDA0NxbZt25rrDz744EX3nZqaWvHLfl999dWOzUHvEUe65oUXXohi8d+/YmfOnIldu3bF0tLSBftNTEzE4cOHo9FoxHvvvdfxD3o+++yz5vLRo0fj+eefv2CfU6dOrfgvGK6++uoYGhrq6Bz0FnGkq87/sb3Tp09Hf39/XHnllfHQQw/FDTfcEIODg/HAAw809xkeHu744zT79u2L0dHR5vprr70WAwMDcdVVV8WePXtiZGQkrr/++ub2YrEYZ8+e7egM9B5xpKtuueWW+O6771Z8b3p6Oj788MP4/fffY3Fxsfn93bt3x+zsbFfm+P7771dEuF6vx19//RUnT56Mf/75p/n94eHhmJ2d7YnHlOgucaTrbrvttqjVavHyyy+n20dHR+PEiRPx66+/djVKR44ciZMnT8b+/fsv2HbttdfGBx98EHNzc26niYiIwszMTEu/AuWyyy7r9iwAG6KVOxRXjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgETLcWw0Gt2cA2BDtNqyluNYq9XWPAzAVtFqy1qOY6VSWfMwAFtFqy1r6z1Ht9ZAL2unYW3F0dUj0MsWFxdb3retONZqNVePQE9qNBpRr9db3r/tR3nm5+fbPQRg07XbrrbjuLy87PYa6CmVSiWWl5fbOmZND4FXq1WP9gA9oVarRbVabfu4Nf+EzOLioitIYEurVCptfQhzvnX9+GC1Wo25ubn1nAKgK+bm5tZ0xXhO/3oHaDQaMTs7G6VSKcrl8npPB7AulUplXVE8Z91xPKdarUa1Wo2+vr4olUrR39+xUwOsql6vR7VajaWlpY6ds+MFW1paioWFhU6fFmBD+ZVlAAlxBEiII0BCHAES4giQEEeAhDgCJP4H6/Y8YKqxICUAAAAASUVORK5CYII="},1151:(e,i,n)=>{n.d(i,{Z:()=>s,a:()=>a});var d=n(7294);const t={},r=d.createContext(t);function a(e){const i=d.useContext(r);return d.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function s(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:a(e.components),d.createElement(r.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f477c445.a180dde0.js b/assets/js/f477c445.a180dde0.js new file mode 100644 index 0000000..3c3590c --- /dev/null +++ b/assets/js/f477c445.a180dde0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[9990],{5733:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>c,contentTitle:()=>o,default:()=>g,frontMatter:()=>s,metadata:()=>l,toc:()=>u});var t=n(5893),r=n(1151),a=n(4866),d=n(5162);const s={sidebar_position:4},o="Register widget",l={id:"tutorial/register-widget",title:"Register widget",description:"In order to register our widget so that it can be selected from the launchers widget picker, we need to tell the android app some information about the widget.",source:"@site/docs/tutorial/register-widget.md",sourceDirName:"tutorial",slug:"/tutorial/register-widget",permalink:"/react-native-android-widget/docs/tutorial/register-widget",draft:!1,unlisted:!1,editUrl:"https://github.com/sAleksovski/react-native-android-widget/tree/master/docs/docs/tutorial/register-widget.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"default",previous:{title:"Register task handler",permalink:"/react-native-android-widget/docs/tutorial/register-task-handler"},next:{title:"Register widget in Expo",permalink:"/react-native-android-widget/docs/tutorial/register-widget-expo"}},c={},u=[{value:"Add a widget provider class",id:"add-a-widget-provider-class",level:2},{value:"Create widget preview image",id:"create-widget-preview-image",level:2},{value:"Add widget description string (Optional)",id:"add-widget-description-string-optional",level:2},{value:"Add a widget provider xml file",id:"add-a-widget-provider-xml-file",level:2},{value:"Add services in AndroidManifest.xml",id:"add-services-in-androidmanifestxml",level:2},{value:"Add widget receiver in AndroidManifest.xml",id:"add-widget-receiver-in-androidmanifestxml",level:2},{value:"Add custom fonts used in widgets",id:"add-custom-fonts-used-in-widgets",level:2}];function h(e){const i={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.h1,{id:"register-widget",children:"Register widget"}),"\n",(0,t.jsx)(i.p,{children:"In order to register our widget so that it can be selected from the launchers widget picker, we need to tell the android app some information about the widget."}),"\n",(0,t.jsx)(i.h2,{id:"add-a-widget-provider-class",children:"Add a widget provider class"}),"\n",(0,t.jsxs)(i.p,{children:["Create a new package ",(0,t.jsx)(i.code,{children:"widget"})," in the native android app."]}),"\n","\n","\n",(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(d.Z,{value:"Java",label:"Java",default:!0,children:[(0,t.jsxs)(i.p,{children:["Inside it create a class ",(0,t.jsx)(i.code,{children:"Hello.java"})]}),(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-java",metastring:'title="android/app/src/main/java/com/yourapppackage/widget/Hello.java"',children:"package com.yourapppackage.widget;\n\nimport com.reactnativeandroidwidget.RNWidgetProvider;\n\npublic class Hello extends RNWidgetProvider {\n}\n"})})]}),(0,t.jsxs)(d.Z,{value:"Kotlin",label:"Kotlin",children:[(0,t.jsxs)(i.p,{children:["Inside it create a class ",(0,t.jsx)(i.code,{children:"Hello.kt"})]}),(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-kotlin",metastring:'title="android/app/src/main/java/com/yourapppackage/widget/Hello.kt"',children:"package com.yourapppackage.widget\n\nimport com.reactnativeandroidwidget.RNWidgetProvider\n\nclass Hello : RNWidgetProvider() {\n}\n"})})]})]}),"\n",(0,t.jsxs)(i.p,{children:["The class ",(0,t.jsx)(i.strong,{children:"name"})," will be used to reference our widget."]}),"\n",(0,t.jsx)(i.h2,{id:"create-widget-preview-image",children:"Create widget preview image"}),"\n",(0,t.jsx)(i.p,{children:"When the android launcher shows the widget select popup, we can show a screenshot of our widget to give the user an idea what the widget looks like."}),"\n",(0,t.jsxs)(i.p,{children:["Take a screenshot of the widget, and place it inside ",(0,t.jsx)(i.code,{children:"android/app/src/main/res/drawable/hello_preview.png"})]}),"\n",(0,t.jsx)("pre",{children:"android/app/src/main/res/drawable/hello_preview.png"}),"\n",(0,t.jsx)(i.p,{children:(0,t.jsx)(i.img,{alt:"Hello Widget Preview",src:n(6945).Z+"",width:"327",height:"208"})}),"\n",(0,t.jsx)(i.h2,{id:"add-widget-description-string-optional",children:"Add widget description string (Optional)"}),"\n",(0,t.jsxs)(i.p,{children:["When the android launcher shows the widget select popup, under the name of the widget it can show an optional description about the widget. If we want to show a description for our widget, we need to add a description string in ",(0,t.jsx)(i.code,{children:"strings.xml"})]}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/res/values/strings.xml"',children:'\n\n My App Name\n This is my first widget\n\n'})}),"\n",(0,t.jsx)(i.h2,{id:"add-a-widget-provider-xml-file",children:"Add a widget provider xml file"}),"\n",(0,t.jsx)(i.p,{children:"Create a new xml file in the resources directory containing the details about the widget."}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/res/xml/widgetprovider_hello.xml"',children:'\n\n\n'})}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"android:updatePeriodMillis"})," How often, in milliseconds, that this AppWidget wants to be updated. The task handler will be called with ",(0,t.jsx)(i.code,{children:"widgetAction = 'UPDATE_WIDGET'"}),". See the official docs ",(0,t.jsx)(i.a,{href:"https://developer.android.com/reference/android/appwidget/AppWidgetProviderInfo.html#updatePeriodMillis",children:"here"})]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"android:previewImage"})," should reference the preview image we added previously"]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"android:description"})," can be added or not, depending on if we added a description in the previous step"]}),"\n"]}),"\n",(0,t.jsx)(i.h2,{id:"add-services-in-androidmanifestxml",children:"Add services in AndroidManifest.xml"}),"\n",(0,t.jsxs)(i.p,{children:["In order to use the ",(0,t.jsx)(i.a,{href:"/react-native-android-widget/docs/primitives/list-widget",children:"ListWidget"})," we need to add a ",(0,t.jsx)(i.code,{children:"RNWidgetCollectionService"})," service."]}),"\n",(0,t.jsxs)(i.p,{children:["Under the application section in the manifest, add a new ",(0,t.jsx)(i.code,{children:"RNWidgetCollectionService"})," service. This service will be shared between all widgets, so it needs to be added only once."]}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/AndroidManifest.xml"',children:'\n ...\n \n\n \n \n\n \n \n\n'})}),"\n",(0,t.jsx)(i.h2,{id:"add-widget-receiver-in-androidmanifestxml",children:"Add widget receiver in AndroidManifest.xml"}),"\n",(0,t.jsx)(i.p,{children:"Finally, we need to add a receiver for our widget, that will receive system events (like widget added, widget resized...)"}),"\n",(0,t.jsxs)(i.p,{children:["In ",(0,t.jsx)(i.code,{children:"AndroidManifest.xml"}),", add a receiver for the widget"]}),"\n",(0,t.jsx)(i.pre,{children:(0,t.jsx)(i.code,{className:"language-xml",metastring:'title="android/app/src/main/AndroidManifest.xml"',children:'\n ...\n \n\n \n \n\n \n\n \n \n \n \n \n \n \n \n\n'})}),"\n",(0,t.jsx)(i.p,{children:"For the receiver"}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"android:name"})," myst be ",(0,t.jsx)(i.code,{children:".widget.WidgetName"})," (same as the Java class extending ",(0,t.jsx)(i.code,{children:"RNWidgetProvider"}),")"]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.code,{children:"android:label"})," will be shown in the widget picker"]}),"\n"]}),"\n",(0,t.jsx)(i.h2,{id:"add-custom-fonts-used-in-widgets",children:"Add custom fonts used in widgets"}),"\n",(0,t.jsxs)(i.p,{children:["If we used a custom font in our widget, we must copy the font file(s) to ",(0,t.jsx)(i.code,{children:"android/app/src/main/assets/fonts"}),". The ",(0,t.jsx)(i.code,{children:"fontFamily"})," style prop will match the file by name."]}),"\n",(0,t.jsxs)(i.p,{children:["For example, ",(0,t.jsx)(i.code,{children:"android/app/src/main/assets/fonts/Inter.ttf"})]})]})}function g(e={}){const{wrapper:i}={...(0,r.a)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},5162:(e,i,n)=>{n.d(i,{Z:()=>d});n(7294);var t=n(512);const r={tabItem:"tabItem_Ymn6"};var a=n(5893);function d(e){let{children:i,hidden:n,className:d}=e;return(0,a.jsx)("div",{role:"tabpanel",className:(0,t.Z)(r.tabItem,d),hidden:n,children:i})}},4866:(e,i,n)=>{n.d(i,{Z:()=>b});var t=n(7294),r=n(512),a=n(2466),d=n(6550),s=n(469),o=n(1980),l=n(7392),c=n(12);function u(e){return t.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,t.isValidElement)(e)&&function(e){const{props:i}=e;return!!i&&"object"==typeof i&&"value"in i}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function h(e){const{values:i,children:n}=e;return(0,t.useMemo)((()=>{const e=i??function(e){return u(e).map((e=>{let{props:{value:i,label:n,attributes:t,default:r}}=e;return{value:i,label:n,attributes:t,default:r}}))}(n);return function(e){const i=(0,l.l)(e,((e,i)=>e.value===i.value));if(i.length>0)throw new Error(`Docusaurus error: Duplicate values "${i.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[i,n])}function g(e){let{value:i,tabValues:n}=e;return n.some((e=>e.value===i))}function p(e){let{queryString:i=!1,groupId:n}=e;const r=(0,d.k6)(),a=function(e){let{queryString:i=!1,groupId:n}=e;if("string"==typeof i)return i;if(!1===i)return null;if(!0===i&&!n)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:i,groupId:n});return[(0,o._X)(a),(0,t.useCallback)((e=>{if(!a)return;const i=new URLSearchParams(r.location.search);i.set(a,e),r.replace({...r.location,search:i.toString()})}),[a,r])]}function m(e){const{defaultValue:i,queryString:n=!1,groupId:r}=e,a=h(e),[d,o]=(0,t.useState)((()=>function(e){let{defaultValue:i,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the component requires at least one children component");if(i){if(!g({value:i,tabValues:n}))throw new Error(`Docusaurus error: The has a defaultValue "${i}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return i}const t=n.find((e=>e.default))??n[0];if(!t)throw new Error("Unexpected error: 0 tabValues");return t.value}({defaultValue:i,tabValues:a}))),[l,u]=p({queryString:n,groupId:r}),[m,v]=function(e){let{groupId:i}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(i),[r,a]=(0,c.Nk)(n);return[r,(0,t.useCallback)((e=>{n&&a.set(e)}),[n,a])]}({groupId:r}),f=(()=>{const e=l??m;return g({value:e,tabValues:a})?e:null})();(0,s.Z)((()=>{f&&o(f)}),[f]);return{selectedValue:d,selectValue:(0,t.useCallback)((e=>{if(!g({value:e,tabValues:a}))throw new Error(`Can't select invalid tab value=${e}`);o(e),u(e),v(e)}),[u,v,a]),tabValues:a}}var v=n(2389);const f={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var w=n(5893);function x(e){let{className:i,block:n,selectedValue:t,selectValue:d,tabValues:s}=e;const o=[],{blockElementScrollPositionUntilNextRender:l}=(0,a.o5)(),c=e=>{const i=e.currentTarget,n=o.indexOf(i),r=s[n].value;r!==t&&(l(i),d(r))},u=e=>{let i=null;switch(e.key){case"Enter":c(e);break;case"ArrowRight":{const n=o.indexOf(e.currentTarget)+1;i=o[n]??o[0];break}case"ArrowLeft":{const n=o.indexOf(e.currentTarget)-1;i=o[n]??o[o.length-1];break}}i?.focus()};return(0,w.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,r.Z)("tabs",{"tabs--block":n},i),children:s.map((e=>{let{value:i,label:n,attributes:a}=e;return(0,w.jsx)("li",{role:"tab",tabIndex:t===i?0:-1,"aria-selected":t===i,ref:e=>o.push(e),onKeyDown:u,onClick:c,...a,className:(0,r.Z)("tabs__item",f.tabItem,a?.className,{"tabs__item--active":t===i}),children:n??i},i)}))})}function A(e){let{lazy:i,children:n,selectedValue:r}=e;const a=(Array.isArray(n)?n:[n]).filter(Boolean);if(i){const e=a.find((e=>e.props.value===r));return e?(0,t.cloneElement)(e,{className:"margin-top--md"}):null}return(0,w.jsx)("div",{className:"margin-top--md",children:a.map(((e,i)=>(0,t.cloneElement)(e,{key:i,hidden:e.props.value!==r})))})}function j(e){const i=m(e);return(0,w.jsxs)("div",{className:(0,r.Z)("tabs-container",f.tabList),children:[(0,w.jsx)(x,{...e,...i}),(0,w.jsx)(A,{...e,...i})]})}function b(e){const i=(0,v.Z)();return(0,w.jsx)(j,{...e,children:u(e.children)},String(i))}},6945:(e,i,n)=>{n.d(i,{Z:()=>t});const t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUcAAADQCAYAAACUXaMkAAAABHNCSVQICAgIfAhkiAAACTdJREFUeJzt3UtoXAUbgOFvJslMc/FSFItCK1YqUhAiukh0YV0o1p3QhZeVgiAiuhJERJGibkSxbisKgghqiYvWhYIomjYgqLgRrCItKO1CzMUkc0nmX0iHhn7NP5PMJBn7PBA4J+cyX6F9OWfmJC3MzMw0AoAVips9AMBWJI4ACXEESIgjQEIcARLiCJDo7/YLFAqFbr8EcIlqNLr3JGLH41gul6NUKnX6tACrqlarUalUOna+jsSxUCjE0NBQFIvu0oHNUSqVolQqxfLycszPz6/7qnLdcXSlCGwlxWIxRkZG1n0lua5LveHhYWEEtqRSqRTDw8NrPn7NcRweHnYbDWxpxWJxzYFcU90GBweFEegJxWIxBgcH2z+u3QMGBgaiv7/rTwABdEx/f3/b3Wo7jtu2bWv3EIBN1+7VY1txLJfLbZ0cYCtpp2FtxdEn00Ava6dhPlUBSLQcR+81Av8Frbas5Tj6hBr4L2i1ZS3H0W/XAf4LWm2Z9xwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCMxPj4eY2NjMTY2FsePH2/5uMnJyeZxY2NjXZvvjz/+WPV1Dh482Nz23HPPdW0OLi39mz0Am29qaioajUZERExPT7d83PT0dExNTXVrrKZKpbLq6/z222/N7dddd13X5+HS4MoRICGOAAlxBEh4z5ENV6vVYmlpKfr6+mJgYGBTZlheXo56vR7Ly8vR398f/f3+KbCSK0c2zPj4eJRKpSiVSjE4OBilUikGBgbijjvu2LAZfvnll7jiiiuir68vyuVyDA4OxsDAQAwNDcWLL764YXOw9YkjXff5559HoVCIEydORK1WW7GtXq/H8ePHo6+vL7744ouuznHnnXfGTTfdFDMzMxdsW1hYiIMHD8bQ0FAsLCx0dQ56g3sJumpycjLuvffe5nqhUIgnn3wy9u7dGz///HO8/fbbEfHvbe4999wTp06dip07d3Z8jltvvTV++OGH5nq5XI4nnngitm/fHhMTE81tCwsLcfnll18QcS494khX3X333c3lAwcOxEcffbRi+6FDh+LAgQPxySefRETErl27ms9cdsqRI0dWhPGtt96Kp59+urn+0ksvxenTp2P37t1Rr9ejXq/Hjh074syZMx2dg97itpoV9u/fH4VCoaWv+++/f9Vzvf7661GtViMiYs+ePReE8ZyPP/44SqVSc/2nn37q3B8oIh5++OHm8iOPPLIijOfs3Lkzfvzxx+b62bNn4++//+7oHPQWcaRr3njjjebyxMTEqvu+//77zeU333yzYzPMz89HpVJprr/zzjsX3Xfv3r2xffv25vqzzz7bsTnoPeJI1/z555/N5ZtvvjmWl5cv+nX77bc393333Xc7NsOnn37aXC4UClEul1fd//xPrA8fPtyxOeg94sgKx44dWzVi538dPXq05fP29fWt+nXjjTd25c/z7bffNpfPf//zYsbHx7syB73HBzKscO79xFb33erOf//ymmuu+b/7j4yMdHMceog4siG+/PLLTXnd0dHR+PrrryNi5W3+xWTPQHJpEkc2xL59+zblde+66644dOhQRER89dVX/3f/b775ptsj0SO850jX7Nixo7l87NixTZnhvvvuW7E+Nze36v6vvPJKc/mZZ57pykz0BnGka5566qnm8mOPPbbqvo8//ngUi8V49NFHY3JysmMzDA0NxbZt25rrDz744EX3nZqaWvHLfl999dWOzUHvEUe65oUXXohi8d+/YmfOnIldu3bF0tLSBftNTEzE4cOHo9FoxHvvvdfxD3o+++yz5vLRo0fj+eefv2CfU6dOrfgvGK6++uoYGhrq6Bz0FnGkq87/sb3Tp09Hf39/XHnllfHQQw/FDTfcEIODg/HAAw809xkeHu744zT79u2L0dHR5vprr70WAwMDcdVVV8WePXtiZGQkrr/++ub2YrEYZ8+e7egM9B5xpKtuueWW+O6771Z8b3p6Oj788MP4/fffY3Fxsfn93bt3x+zsbFfm+P7771dEuF6vx19//RUnT56Mf/75p/n94eHhmJ2d7YnHlOgucaTrbrvttqjVavHyyy+n20dHR+PEiRPx66+/djVKR44ciZMnT8b+/fsv2HbttdfGBx98EHNzc26niYiIwszMTEu/AuWyyy7r9iwAG6KVOxRXjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgIQ4AiTEESAhjgAJcQRIiCNAQhwBEuIIkBBHgETLcWw0Gt2cA2BDtNqyluNYq9XWPAzAVtFqy1qOY6VSWfMwAFtFqy1r6z1Ht9ZAL2unYW3F0dUj0MsWFxdb3retONZqNVePQE9qNBpRr9db3r/tR3nm5+fbPQRg07XbrrbjuLy87PYa6CmVSiWWl5fbOmZND4FXq1WP9gA9oVarRbVabfu4Nf+EzOLioitIYEurVCptfQhzvnX9+GC1Wo25ubn1nAKgK+bm5tZ0xXhO/3oHaDQaMTs7G6VSKcrl8npPB7AulUplXVE8Z91xPKdarUa1Wo2+vr4olUrR39+xUwOsql6vR7VajaWlpY6ds+MFW1paioWFhU6fFmBD+ZVlAAlxBEiII0BCHAES4giQEEeAhDgCJP4H6/Y8YKqxICUAAAAASUVORK5CYII="},1151:(e,i,n)=>{n.d(i,{Z:()=>s,a:()=>d});var t=n(7294);const r={},a=t.createContext(r);function d(e){const i=t.useContext(a);return t.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function s(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:d(e.components),t.createElement(a.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/main.3823989f.js b/assets/js/main.3823989f.js new file mode 100644 index 0000000..e832fc3 --- /dev/null +++ b/assets/js/main.3823989f.js @@ -0,0 +1,2 @@ +/*! For license information please see main.3823989f.js.LICENSE.txt */ +(self.webpackChunkreact_native_android_widget_docs=self.webpackChunkreact_native_android_widget_docs||[]).push([[179],{723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});n(7294);var r=n(8356),a=n.n(r),o=n(6887);const i={"0124b8bf":[()=>n.e(2934).then(n.bind(n,6583)),"@site/docs/public-api/interfaces/BackgroundStyleProps.md",6583],"01e0afe4":[()=>n.e(7291).then(n.bind(n,4060)),"@site/docs/tutorial/widget-design.md",4060],"0314676f":[()=>n.e(5020).then(n.bind(n,2861)),"@site/docs/public-api/interfaces/IconWidgetProps.md",2861],"0cb0f7cb":[()=>n.e(7374).then(n.bind(n,5672)),"@site/docs/public-api/interfaces/OverlapWidgetStyle.md",5672],"1476a8a4":[()=>n.e(5087).then(n.bind(n,1605)),"@site/docs/limitations.md",1605],"14eb3368":[()=>Promise.all([n.e(532),n.e(9817)]).then(n.bind(n,4228)),"@theme/DocCategoryGeneratedIndexPage",4228],17896441:[()=>Promise.all([n.e(532),n.e(7918)]).then(n.bind(n,3518)),"@theme/DocItem",3518],"17c5701b":[()=>n.e(3895).then(n.bind(n,2435)),"@site/docs/primitives/svg-widget.md",2435],"181303e3":[()=>n.e(7473).then(n.bind(n,1699)),"@site/docs/api/register-widget-configuration-screen.md",1699],"1bb5842c":[()=>n.e(322).then(n.bind(n,4745)),"@site/docs/primitives/list-widget.md",4745],"1cfe139a":[()=>n.e(9484).then(n.bind(n,8469)),"@site/docs/public-api/index.md",8469],"1df93b7f":[()=>Promise.all([n.e(532),n.e(3237)]).then(n.bind(n,8391)),"@site/src/pages/index.tsx",8391],"24767a4f":[()=>n.e(1400).then(n.bind(n,2839)),"@site/docs/public-api/interfaces/WidgetTaskHandlerProps.md",2839],"281947f5":[()=>n.e(6831).then(n.bind(n,8062)),"@site/docs/public-api/interfaces/OverlapWidgetProps.md",8062],"2eb66e86":[()=>n.e(6090).then(n.bind(n,5587)),"@site/docs/public-api/interfaces/ImageWidgetProps.md",5587],"31e029c9":[()=>n.e(1946).then(n.bind(n,2003)),"@site/docs/tutorial/register-widget-expo.md",2003],"334fbae1":[()=>n.e(6998).then(n.bind(n,3532)),"@site/docs/public-api/interfaces/WidgetConfigurationScreenProps.md",3532],"3666eb9e":[()=>n.e(4483).then(n.bind(n,3467)),"@site/docs/api/widget-preview.md",3467],"399d2a39":[()=>Promise.all([n.e(532),n.e(6573)]).then(n.bind(n,6455)),"@site/docs/tutorial/make-widget-configurable.md",6455],"3a45f1c7":[()=>n.e(9239).then(n.bind(n,108)),"@site/docs/handling-clicks.md",108],"3fa31a86":[()=>n.e(7938).then(n.bind(n,4416)),"@site/docs/primitives/overlap-widget.md",4416],"407354e8":[()=>n.e(1493).then(n.t.bind(n,3769,19)),"/home/runner/work/react-native-android-widget/react-native-android-widget/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"4787fd9f":[()=>n.e(1161).then(n.bind(n,4767)),"@site/docs/public-api/interfaces/ClickActionProps.md",4767],"49b00a7f":[()=>n.e(5187).then(n.bind(n,3526)),"@site/docs/public-api/interfaces/OtherStyleProps.md",3526],"4b7010bf":[()=>n.e(5710).then(n.bind(n,3348)),"@site/docs/tutorial/register-task-handler.md",3348],"5b19e069":[()=>n.e(1408).then(n.bind(n,9513)),"@site/docs/primitives/text-widget.md",9513],"5d454204":[()=>n.e(3814).then(n.bind(n,8943)),"@site/docs/public-api/interfaces/WidgetPreviewProps.md",8943],"5e95c892":[()=>n.e(9661).then(n.bind(n,1892)),"@theme/DocsRoot",1892],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],70097127:[()=>n.e(1744).then(n.bind(n,4115)),"@site/docs/tutorial/try-it-our.md",4115],"7135efbc":[()=>n.e(7071).then(n.bind(n,8285)),"@site/docs/public-api/interfaces/FlexWidgetStyle.md",8285],"730f732a":[()=>n.e(8998).then(n.bind(n,1382)),"@site/docs/public-api/interfaces/PaddingStyleProps.md",1382],"7402041a":[()=>n.e(9557).then(n.bind(n,6035)),"@site/docs/update-widget.md",6035],"74b23640":[()=>n.e(2814).then(n.bind(n,9562)),"@site/docs/demo.md",9562],"7ad22d07":[()=>n.e(5073).then(n.bind(n,6932)),"@site/docs/public-api/interfaces/RequestWidgetUpdateProps.md",6932],"7d14206d":[()=>n.e(9896).then(n.bind(n,7024)),"@site/docs/api/request-widget-update.md",7024],"7f5eb84b":[()=>n.e(9069).then(n.bind(n,8351)),"@site/docs/public-api/interfaces/CommonStyleProps.md",8351],"82b1394b":[()=>n.e(6117).then(n.bind(n,8418)),"@site/docs/primitives/image-widget.md",8418],"8d25c1fb":[()=>n.e(1328).then(n.bind(n,9602)),"@site/docs/public-api/interfaces/FlexWidgetProps.md",9602],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"94be2f97":[()=>n.e(265).then(n.bind(n,6255)),"@site/docs/public-api/interfaces/TextWidgetStyle.md",6255],"95f41f41":[()=>n.e(9209).then(n.bind(n,6265)),"@site/docs/public-api/interfaces/SvgWidgetProps.md",6265],"9958a938":[()=>n.e(8646).then(n.t.bind(n,8178,19)),"~docs/default/category-react-native-android-widgetdocs-default-category-widget-primitives-4d5.json",8178],a3102611:[()=>n.e(7679).then(n.bind(n,3271)),"@site/docs/public-api/interfaces/MarginStyleProps.md",3271],a66dadf2:[()=>n.e(5672).then(n.bind(n,8051)),"@site/docs/public-api/interfaces/TextWidgetProps.md",8051],a7bd4aaa:[()=>n.e(8518).then(n.bind(n,8564)),"@theme/DocVersionRoot",8564],a94703ab:[()=>Promise.all([n.e(532),n.e(4368)]).then(n.bind(n,2674)),"@theme/DocRoot",2674],aa86ff20:[()=>n.e(1188).then(n.bind(n,3156)),"@site/docs/primitives/flex-widget.md",3156],adcb0710:[()=>n.e(9945).then(n.t.bind(n,5745,19)),"/home/runner/work/react-native-android-widget/react-native-android-widget/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],b0736eaa:[()=>n.e(2097).then(n.bind(n,9322)),"@site/docs/public-api/interfaces/ScreenInfo.md",9322],bcaac1db:[()=>n.e(6516).then(n.bind(n,177)),"@site/docs/public-api/interfaces/SizeStyleProps.md",177],bcda6bdc:[()=>n.e(3159).then(n.bind(n,9300)),"@site/docs/public-api/interfaces/BorderStyleProps.md",9300],c10b2ba3:[()=>n.e(8888).then(n.bind(n,8621)),"@site/docs/tutorial/widget-preview.md",8621],c377a04b:[()=>Promise.all([n.e(532),n.e(6971)]).then(n.bind(n,9925)),"@site/docs/index.md",9925],c56934f7:[()=>n.e(2321).then(n.bind(n,4961)),"@site/docs/public-api/interfaces/WithAndroidWidgetsParams.md",4961],cc1aedd7:[()=>n.e(1069).then(n.bind(n,2110)),"@site/docs/primitives/icon-widget.md",2110],d5b87c6b:[()=>n.e(2386).then(n.bind(n,4768)),"@site/docs/public-api/interfaces/ListWidgetStyle.md",4768],e73c34ba:[()=>n.e(924).then(n.bind(n,9202)),"@site/docs/public-api/interfaces/IconWidgetStyle.md",9202],ead7330c:[()=>n.e(7655).then(n.bind(n,2032)),"@site/docs/tutorial/congratulations.md",2032],ef61de09:[()=>n.e(7386).then(n.bind(n,7640)),"@site/docs/api/register-widget-task-handler.md",7640],f477c445:[()=>Promise.all([n.e(532),n.e(9990)]).then(n.bind(n,5733)),"@site/docs/tutorial/register-widget.md",5733],f600eb30:[()=>n.e(8558).then(n.bind(n,5851)),"@site/docs/public-api/interfaces/ListWidgetProps.md",5851],ff301dc0:[()=>n.e(5937).then(n.bind(n,4595)),"@site/docs/public-api/interfaces/WidgetInfo.md",4595],ff470113:[()=>n.e(3153).then(n.bind(n,7335)),"@site/docs/public-api/interfaces/Widget.md",7335]};var l=n(5893);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(9670),u=n(226);function d(e,t){if("*"===e)return a()({loading:s,loader:()=>n.e(1772).then(n.bind(n,1772)),modules:["@theme/NotFound"],webpack:()=>[1772],render(e,t){const n=e.default;return(0,l.jsx)(u.z,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},p=[],f=[],g=(0,c.Z)(r);return Object.entries(g).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),a().Map({loading:s,loader:d,modules:p,webpack:()=>f,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;return delete a.__context,(0,l.jsx)(u.z,{value:i,children:(0,l.jsx)(o,{...a,...n})})}})}const p=[{path:"/react-native-android-widget/docs",component:d("/react-native-android-widget/docs","adb"),routes:[{path:"/react-native-android-widget/docs",component:d("/react-native-android-widget/docs","a72"),routes:[{path:"/react-native-android-widget/docs",component:d("/react-native-android-widget/docs","f32"),routes:[{path:"/react-native-android-widget/docs",component:d("/react-native-android-widget/docs","04b"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/api/register-widget-configuration-screen",component:d("/react-native-android-widget/docs/api/register-widget-configuration-screen","49a"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/api/register-widget-task-handler",component:d("/react-native-android-widget/docs/api/register-widget-task-handler","a05"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/api/request-widget-update",component:d("/react-native-android-widget/docs/api/request-widget-update","861"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/api/widget-preview",component:d("/react-native-android-widget/docs/api/widget-preview","c3c"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/demo",component:d("/react-native-android-widget/docs/demo","9e2"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/handling-clicks",component:d("/react-native-android-widget/docs/handling-clicks","2ff"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/limitations",component:d("/react-native-android-widget/docs/limitations","6ec"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/flex-widget",component:d("/react-native-android-widget/docs/primitives/flex-widget","dec"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/icon-widget",component:d("/react-native-android-widget/docs/primitives/icon-widget","3e0"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/image-widget",component:d("/react-native-android-widget/docs/primitives/image-widget","deb"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/index",component:d("/react-native-android-widget/docs/primitives/index","8e6"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/list-widget",component:d("/react-native-android-widget/docs/primitives/list-widget","b05"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/overlap-widget",component:d("/react-native-android-widget/docs/primitives/overlap-widget","bbd"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/svg-widget",component:d("/react-native-android-widget/docs/primitives/svg-widget","430"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/primitives/text-widget",component:d("/react-native-android-widget/docs/primitives/text-widget","15b"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/public-api",component:d("/react-native-android-widget/docs/public-api","b59"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps","90e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps","020"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps",component:d("/react-native-android-widget/docs/public-api/interfaces/ClickActionProps","2f7"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps","cd6"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps","e30"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle",component:d("/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle","869"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps","324"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle",component:d("/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle","a1c"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps","79e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps","293"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle",component:d("/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle","eb4"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps","1b6"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps","8ab"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps","376"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle",component:d("/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle","b9a"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps","287"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps",component:d("/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps","cf2"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo",component:d("/react-native-android-widget/docs/public-api/interfaces/ScreenInfo","e2e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps",component:d("/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps","f5a"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps","248"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps",component:d("/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps","cab"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle",component:d("/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle","e87"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/Widget",component:d("/react-native-android-widget/docs/public-api/interfaces/Widget","859"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps",component:d("/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps","27e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo",component:d("/react-native-android-widget/docs/public-api/interfaces/WidgetInfo","387"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps",component:d("/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps","cc8"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps",component:d("/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps","68e"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams",component:d("/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams","cf1"),exact:!0,sidebar:"api"},{path:"/react-native-android-widget/docs/tutorial/congratulations",component:d("/react-native-android-widget/docs/tutorial/congratulations","b64"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/make-widget-configurable",component:d("/react-native-android-widget/docs/tutorial/make-widget-configurable","93a"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/register-task-handler",component:d("/react-native-android-widget/docs/tutorial/register-task-handler","10d"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/register-widget",component:d("/react-native-android-widget/docs/tutorial/register-widget","f46"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/register-widget-expo",component:d("/react-native-android-widget/docs/tutorial/register-widget-expo","a54"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/try-it-our",component:d("/react-native-android-widget/docs/tutorial/try-it-our","b65"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/widget-design",component:d("/react-native-android-widget/docs/tutorial/widget-design","689"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/tutorial/widget-preview",component:d("/react-native-android-widget/docs/tutorial/widget-preview","786"),exact:!0,sidebar:"default"},{path:"/react-native-android-widget/docs/update-widget",component:d("/react-native-android-widget/docs/update-widget","b60"),exact:!0,sidebar:"default"}]}]}]},{path:"/react-native-android-widget/",component:d("/react-native-android-widget/","ae8"),exact:!0},{path:"*",component:d("*")}]},8934:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,t:()=>i});var r=n(7294),a=n(5893);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},7221:(e,t,n)=>{"use strict";var r=n(7294),a=n(745),o=n(3727),i=n(405),l=n(412);const s=[n(6657),n(2497),n(3310),n(8320),n(2295)];var c=n(723),u=n(6550),d=n(8790),p=n(5893);function f(e){let{children:t}=e;return(0,p.jsx)(p.Fragment,{children:t})}var g=n(5742),m=n(2263),h=n(4996),b=n(6668),y=n(1944),v=n(4711),w=n(9727),k=n(3320),x=n(8780),S=n(197);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,m.Z)(),r=(0,v.l)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,p.jsxs)(g.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,p.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,p.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function _(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,m.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,m.Z)(),{pathname:r}=(0,u.TH)();return e+(0,x.applyTrailingSlash)((0,h.Z)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,p.jsxs)(g.Z,{children:[(0,p.jsx)("meta",{property:"og:url",content:a}),(0,p.jsx)("link",{rel:"canonical",href:a})]})}function C(){const{i18n:{currentLocale:e}}=(0,m.Z)(),{metadata:t,image:n}=(0,b.L)();return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(g.Z,{children:[(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,p.jsx)("body",{className:w.h})]}),n&&(0,p.jsx)(y.d,{image:n}),(0,p.jsx)(_,{}),(0,p.jsx)(E,{}),(0,p.jsx)(S.Z,{tag:k.HX,locale:e}),(0,p.jsx)(g.Z,{children:t.map(((e,t)=>(0,p.jsx)("meta",{...e},t)))})]})}const T=new Map;function P(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.f)(c.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var N=n(8934),A=n(8940),L=n(469);function j(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const O=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,L.Z)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),j("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function R(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(c.Z,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class I extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?j("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=j("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),R(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,p.jsx)(O,{previousLocation:this.previousLocation,location:t,children:(0,p.jsx)(u.AW,{location:t,render:()=>e})})}}const F=I,M="__docusaurus-base-url-issue-banner-container",D="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function B(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${M}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var Q=n(9670);const K=new Set,X=new Set,J=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!K.has(e))(e))return!1;K.add(e);const t=(0,d.f)(c.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(G).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,Q.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Y(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),R(e))},te=Object.freeze(ee),ne=Boolean(!0);if(l.Z.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,p.jsx)(i.B6,{children:(0,p.jsx)(o.VK,{children:(0,p.jsx)(q,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},l=()=>{if(ne)r.startTransition((()=>{a.hydrateRoot(e,t,{onRecoverableError:n})}));else{const o=a.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{o.render(t)}))}};R(window.location.pathname).then(l)}},8940:(e,t,n)=>{"use strict";n.d(t,{_:()=>d,M:()=>p});var r=n(7294),a=n(6809);const o=JSON.parse('{"docusaurus-plugin-google-gtag":{"default":{"trackingID":["G-S7YD6GC3T0"],"anonymizeIP":false,"id":"default"}},"docusaurus-plugin-content-docs":{"default":{"path":"/react-native-android-widget/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/react-native-android-widget/docs","mainDocId":"index","docs":[{"id":"api/register-widget-configuration-screen","path":"/react-native-android-widget/docs/api/register-widget-configuration-screen","sidebar":"default"},{"id":"api/register-widget-task-handler","path":"/react-native-android-widget/docs/api/register-widget-task-handler","sidebar":"default"},{"id":"api/request-widget-update","path":"/react-native-android-widget/docs/api/request-widget-update","sidebar":"default"},{"id":"api/widget-preview","path":"/react-native-android-widget/docs/api/widget-preview","sidebar":"default"},{"id":"demo","path":"/react-native-android-widget/docs/demo","sidebar":"default"},{"id":"handling-clicks","path":"/react-native-android-widget/docs/handling-clicks","sidebar":"default"},{"id":"index","path":"/react-native-android-widget/docs/","sidebar":"default"},{"id":"limitations","path":"/react-native-android-widget/docs/limitations","sidebar":"default"},{"id":"primitives/flex-widget","path":"/react-native-android-widget/docs/primitives/flex-widget","sidebar":"default"},{"id":"primitives/icon-widget","path":"/react-native-android-widget/docs/primitives/icon-widget","sidebar":"default"},{"id":"primitives/image-widget","path":"/react-native-android-widget/docs/primitives/image-widget","sidebar":"default"},{"id":"primitives/list-widget","path":"/react-native-android-widget/docs/primitives/list-widget","sidebar":"default"},{"id":"primitives/overlap-widget","path":"/react-native-android-widget/docs/primitives/overlap-widget","sidebar":"default"},{"id":"primitives/svg-widget","path":"/react-native-android-widget/docs/primitives/svg-widget","sidebar":"default"},{"id":"primitives/text-widget","path":"/react-native-android-widget/docs/primitives/text-widget","sidebar":"default"},{"id":"public-api/index","path":"/react-native-android-widget/docs/public-api/","sidebar":"api"},{"id":"public-api/interfaces/BackgroundStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/BackgroundStyleProps","sidebar":"api"},{"id":"public-api/interfaces/BorderStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/BorderStyleProps","sidebar":"api"},{"id":"public-api/interfaces/ClickActionProps","path":"/react-native-android-widget/docs/public-api/interfaces/ClickActionProps","sidebar":"api"},{"id":"public-api/interfaces/CommonStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/CommonStyleProps","sidebar":"api"},{"id":"public-api/interfaces/FlexWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/FlexWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/FlexWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/IconWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/IconWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/IconWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/IconWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/ImageWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/ImageWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/ListWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/ListWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/ListWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/ListWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/MarginStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/MarginStyleProps","sidebar":"api"},{"id":"public-api/interfaces/OtherStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/OtherStyleProps","sidebar":"api"},{"id":"public-api/interfaces/OverlapWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/OverlapWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/OverlapWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/PaddingStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/PaddingStyleProps","sidebar":"api"},{"id":"public-api/interfaces/RequestWidgetUpdateProps","path":"/react-native-android-widget/docs/public-api/interfaces/RequestWidgetUpdateProps","sidebar":"api"},{"id":"public-api/interfaces/ScreenInfo","path":"/react-native-android-widget/docs/public-api/interfaces/ScreenInfo","sidebar":"api"},{"id":"public-api/interfaces/SizeStyleProps","path":"/react-native-android-widget/docs/public-api/interfaces/SizeStyleProps","sidebar":"api"},{"id":"public-api/interfaces/SvgWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/SvgWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/TextWidgetProps","path":"/react-native-android-widget/docs/public-api/interfaces/TextWidgetProps","sidebar":"api"},{"id":"public-api/interfaces/TextWidgetStyle","path":"/react-native-android-widget/docs/public-api/interfaces/TextWidgetStyle","sidebar":"api"},{"id":"public-api/interfaces/Widget","path":"/react-native-android-widget/docs/public-api/interfaces/Widget","sidebar":"api"},{"id":"public-api/interfaces/WidgetConfigurationScreenProps","path":"/react-native-android-widget/docs/public-api/interfaces/WidgetConfigurationScreenProps","sidebar":"api"},{"id":"public-api/interfaces/WidgetInfo","path":"/react-native-android-widget/docs/public-api/interfaces/WidgetInfo","sidebar":"api"},{"id":"public-api/interfaces/WidgetPreviewProps","path":"/react-native-android-widget/docs/public-api/interfaces/WidgetPreviewProps","sidebar":"api"},{"id":"public-api/interfaces/WidgetTaskHandlerProps","path":"/react-native-android-widget/docs/public-api/interfaces/WidgetTaskHandlerProps","sidebar":"api"},{"id":"public-api/interfaces/WithAndroidWidgetsParams","path":"/react-native-android-widget/docs/public-api/interfaces/WithAndroidWidgetsParams","sidebar":"api"},{"id":"tutorial/congratulations","path":"/react-native-android-widget/docs/tutorial/congratulations","sidebar":"default"},{"id":"tutorial/make-widget-configurable","path":"/react-native-android-widget/docs/tutorial/make-widget-configurable","sidebar":"default"},{"id":"tutorial/register-task-handler","path":"/react-native-android-widget/docs/tutorial/register-task-handler","sidebar":"default"},{"id":"tutorial/register-widget","path":"/react-native-android-widget/docs/tutorial/register-widget","sidebar":"default"},{"id":"tutorial/register-widget-expo","path":"/react-native-android-widget/docs/tutorial/register-widget-expo","sidebar":"default"},{"id":"tutorial/try-it-our","path":"/react-native-android-widget/docs/tutorial/try-it-our","sidebar":"default"},{"id":"tutorial/widget-design","path":"/react-native-android-widget/docs/tutorial/widget-design","sidebar":"default"},{"id":"tutorial/widget-preview","path":"/react-native-android-widget/docs/tutorial/widget-preview","sidebar":"default"},{"id":"update-widget","path":"/react-native-android-widget/docs/update-widget","sidebar":"default"},{"id":"/primitives/index","path":"/react-native-android-widget/docs/primitives/index","sidebar":"default"}],"draftIds":[],"sidebars":{"default":{"link":{"path":"/react-native-android-widget/docs/","label":"index"}},"api":{"link":{"path":"/react-native-android-widget/docs/public-api/","label":"Public API"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(7529);const s=JSON.parse('{"docusaurusVersion":"3.1.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.1.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.1.0"},"docusaurus-plugin-google-gtag":{"type":"package","name":"@docusaurus/plugin-google-gtag","version":"3.1.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.1.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.1.0"},"docusaurus-plugin-typedoc":{"type":"package","name":"docusaurus-plugin-typedoc","version":"0.22.0"},"docusaurus-plugin-client-redirects":{"type":"package","name":"@docusaurus/plugin-client-redirects","version":"3.1.0"}}}');var c=n(5893);const u={siteConfig:a.default,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},d=r.createContext(u);function p(e){let{children:t}=e;return(0,c.jsx)(d.Provider,{value:u,children:t})}},4763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(7294),a=n(412),o=n(5742),i=n(8780),l=n(6040),s=n(5893);function c(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,s.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,s.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,s.jsx)(u,{error:t})]})}function u(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,s.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)(f,{fallback:()=>(0,s.jsx)(c,{error:t,tryAgain:n}),children:[(0,s.jsx)(o.Z,{children:(0,s.jsx)("title",{children:"Page Error"})}),(0,s.jsx)(l.Z,{children:(0,s.jsx)(c,{error:t,tryAgain:n})})]})}const p=e=>(0,s.jsx)(d,{...e});class f extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??p)(e)}return e??null}}},412:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);var r=n(405),a=n(5893);function o(e){return(0,a.jsx)(r.ql,{...e})}},3692:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(7294),a=n(3727),o=n(8780),i=n(2263),l=n(3919),s=n(412),c=n(8138),u=n(4996),d=n(5893);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:g,isActive:m,"data-noBrokenLinkCheck":h,autoAddBaseUrl:b=!0,...y}=e;const{siteConfig:{trailingSlash:v,baseUrl:w}}=(0,i.Z)(),{withBaseUrl:k}=(0,u.C)(),x=(0,c.Z)(),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>S.current));const E=p||f;const _=(0,l.Z)(E),C=E?.replace("pathname://","");let T=void 0!==C?(P=C,b&&(e=>e.startsWith("/"))(P)?k(P):P):void 0;var P;T&&_&&(T=(0,o.applyTrailingSlash)(T,{trailingSlash:v,baseUrl:w}));const N=(0,r.useRef)(!1),A=n?a.OL:a.rU,L=s.Z.canUseIntersectionObserver,j=(0,r.useRef)(),O=()=>{N.current||null==T||(window.docusaurus.preload(T),N.current=!0)};(0,r.useEffect)((()=>(!L&&_&&null!=T&&window.docusaurus.prefetch(T),()=>{L&&j.current&&j.current.disconnect()})),[j,T,L,_]);const R=T?.startsWith("#")??!1,I=!T||!_||R;return I||h||x.collectLink(T),I?(0,d.jsx)("a",{ref:S,href:T,...E&&!_&&{target:"_blank",rel:"noopener noreferrer"},...y}):(0,d.jsx)(A,{...y,onMouseEnter:O,onTouchStart:O,innerRef:e=>{S.current=e,L&&e&&_&&(j.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(j.current.unobserve(e),j.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),j.current.observe(e))},to:T,...n&&{isActive:m,activeClassName:g}})}const f=r.forwardRef(p)},1875:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=()=>null},5999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c,I:()=>s});var r=n(7294),a=n(5893);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(7529);function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return o(l({message:n,id:r}),t)}function c(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");const i=l({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},9935:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},3919:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>a,b:()=>r})},4996:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,Z:()=>l});var r=n(7294),a=n(2263),o=n(3919);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,a.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:a=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,o.b)(n))return n;if(a)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+l:l}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},8138:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294);n(5893);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},2263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8940);function o(){return(0,r.useContext)(a._)}},2389:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8934);function o(){return(0,r.useContext)(a._)}},469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7294);const a=n(412).Z.canUseDOM?r.useLayoutEffect:r.useEffect},9670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const l=a?`${a}.${o}`:o;r(i)?e(i,l):t[l]=i}))}(e),t}},226:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,z:()=>i});var r=n(7294),a=n(5893);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),l=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:l,children:t})}},143:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>m,gA:()=>p,_r:()=>u,Jo:()=>h,zh:()=>d,yW:()=>g,gB:()=>f});var r=n(6550),a=n(2263),o=n(9935);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=function(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),a=n?.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const c={},u=()=>i("docusaurus-plugin-content-docs")??c,d=e=>function(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});const r=i(e),a=r?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0});function p(e){void 0===e&&(e={});const t=u(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function f(e){return d(e).versions}function g(e){const t=d(e);return l(t)}function m(e){const t=d(e),{pathname:n}=(0,r.TH)();return s(t,n)}function h(e){const t=d(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=l(e);return{latestDocSuggestion:s(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},6657:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={onRouteDidUpdate(e){let{location:t,previousLocation:n}=e;!n||t.pathname===n.pathname&&t.search===n.search&&t.hash===n.hash||setTimeout((()=>{window.gtag("set","page_path",t.pathname+t.search+t.hash),window.gtag("event","page_view")}))}}},8320:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(4865),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},3310:(e,t,n)=>{"use strict";n.r(t);var r=n(2573),a=n(6809);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(6854),n(9640)(`./prism-${e}`)})),delete globalThis.Prism}(r.p1)},7955:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});n(7294);var r=n(512),a=n(5999),o=n(6668),i=n(3692),l=n(8138);const s={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var c=n(5893);function u(e){let{as:t,id:n,...u}=e;const d=(0,l.Z)(),{navbar:{hideOnScroll:p}}=(0,o.L)();if("h1"===t||!n)return(0,c.jsx)(t,{...u,id:void 0});d.collectAnchor(n);const f=(0,a.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,c.jsxs)(t,{...u,className:(0,r.Z)("anchor",p?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,c.jsx)(i.Z,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},9471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);const r={iconExternalLink:"iconExternalLink_nPIU"};var a=n(5893);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},6040:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ft});var r=n(7294),a=n(512),o=n(4763),i=n(1944),l=n(6550),s=n(5999),c=n(5936),u=n(5893);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,l.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,c.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const g=(0,s.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function m(e){const t=e.children??g,{containerRef:n,onClick:r}=f();return(0,u.jsx)("div",{ref:n,role:"region","aria-label":g,children:(0,u.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var h=n(5281),b=n(9727);const y={skipToContent:"skipToContent_fXgn"};function v(){return(0,u.jsx)(m,{className:y.skipToContent})}var w=n(6668),k=n(9689);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,u.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,u.jsx)("g",{stroke:r,strokeWidth:a,children:(0,u.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_CVFx"};function E(e){return(0,u.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.Z)("clean-btn close",S.closeButton,e.className),children:(0,u.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}const _={content:"content_knG7"};function C(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return(0,u.jsx)("div",{...e,className:(0,a.Z)(_.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const T={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function P(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,k.nT)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,u.jsxs)("div",{className:T.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,u.jsx)("div",{className:T.announcementBarPlaceholder}),(0,u.jsx)(C,{className:T.announcementBarContent}),o&&(0,u.jsx)(E,{onClick:n,className:T.announcementBarClose})]})}var N=n(3163),A=n(2466);var L=n(902),j=n(3102);const O=r.createContext(null);function R(e){let{children:t}=e;const n=function(){const e=(0,N.e)(),t=(0,j.HY)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,L.D9)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return(0,u.jsx)(O.Provider,{value:n,children:t})}function I(e){if(e.component){const t=e.component;return(0,u.jsx)(t,{...e.props})}}function F(){const e=(0,r.useContext)(O);if(!e)throw new L.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,j.HY)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:I(o)})),[a,o,t])}function M(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=F();return(0,u.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,u.jsxs)("div",{className:(0,a.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var D=n(2949),z=n(2389);function B(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function $(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const U={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function W(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,z.Z)(),l=(0,s.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,s.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,s.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,u.jsx)("div",{className:(0,a.Z)(U.toggle,t),children:(0,u.jsxs)("button",{className:(0,a.Z)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite",children:[(0,u.jsx)(B,{className:(0,a.Z)(U.toggleIcon,U.lightToggleIcon)}),(0,u.jsx)($,{className:(0,a.Z)(U.toggleIcon,U.darkToggleIcon)})]})})}const Z=r.memo(W),H={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function V(e){let{className:t}=e;const n=(0,w.L)().navbar.style,r=(0,w.L)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,D.I)();return r?null:(0,u.jsx)(Z,{className:t,buttonClassName:"dark"===n?H.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var q=n(1327);function G(){return(0,u.jsx)(q.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Y(){const e=(0,N.e)();return(0,u.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,u.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function Q(){return(0,u.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,u.jsx)(G,{}),(0,u.jsx)(V,{className:"margin-right--md"}),(0,u.jsx)(Y,{})]})}var K=n(3692),X=n(4996),J=n(3919);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(9471);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:l,prependBaseUrlToHref:s,...c}=e;const d=(0,X.Z)(r),p=(0,X.Z)(t),f=(0,X.Z)(a,{forcePrependBaseUrl:!0}),g=o&&a&&!(0,J.Z)(a),m=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,u.jsxs)(u.Fragment,{children:[o,g&&(0,u.jsx)(te.Z,{...l&&{width:12,height:12}})]})};return a?(0,u.jsx)(K.Z,{href:s?f:a,...c,...m}):(0,u.jsx)(K.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(p)},...c,...m})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,u.jsx)(ne,{className:(0,a.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,u.jsx)("li",{children:o}):o}function ae(e){let{className:t,isDropdownItem:n,...r}=e;return(0,u.jsx)("li",{className:"menu__list-item",children:(0,u.jsx)(ne,{className:(0,a.Z)("menu__link",t),...r})})}function oe(e){let{mobile:t=!1,position:n,...r}=e;const a=t?ae:re;return(0,u.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(6043),le=n(8596),se=n(2263);const ce={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ue(e,t){return e.some((e=>function(e,t){return!!(0,le.Mg)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:o,onClick:i,...l}=e;const s=(0,r.useRef)(null),[c,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[s]),(0,u.jsxs)("div",{ref:s,className:(0,a.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,u.jsx)(ne,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:l.to?void 0:"#",className:(0,a.Z)("navbar__link",o),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:l.children??l.label}),(0,u.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(_e,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:o,onClick:i,...s}=e;const c=function(){const{siteConfig:{baseUrl:e}}=(0,se.Z)(),{pathname:t}=(0,l.TH)();return t.replace(e,"/")}(),d=ue(t,c),{collapsed:p,toggleCollapsed:f,setCollapsed:g}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&g(!d)}),[c,d,g]),(0,u.jsxs)("li",{className:(0,a.Z)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,u.jsx)(ne,{role:"button",className:(0,a.Z)(ce.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),f()},children:s.children??s.label}),(0,u.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(_e,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?pe:de;return(0,u.jsx)(r,{...n})}var ge=n(4711);function me(e){let{width:t=20,height:n=20,...r}=e;return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const he="iconLanguage_nlXk";var be=n(1875);const ye={navbarSearchContainer:"navbarSearchContainer_Bca1"};function ve(e){let{children:t,className:n}=e;return(0,u.jsx)("div",{className:(0,a.Z)(n,ye.navbarSearchContainer),children:t})}var we=n(143),ke=n(3438);var xe=n(373);const Se=e=>e.docs.find((t=>t.id===e.mainDocId));const Ee={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:c,localeConfigs:d}}=(0,se.Z)(),p=(0,ge.l)(),{search:f,hash:g}=(0,l.TH)(),m=[...n,...c.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${g}${a}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],h=t?(0,s.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,u.jsx)(fe,{...o,mobile:t,label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(me,{className:he}),h]}),items:m})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,u.jsx)(ve,{className:n,children:(0,u.jsx)(be.Z,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,u.jsx)(i,{className:(0,a.Z)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,we.Iw)(r),i=(0,ke.vY)(t,r),l=o?.path===i?.path;return null===i||i.unlisted&&!l?null:(0,u.jsx)(oe,{exact:!0,...a,isActive:()=>l||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,we.Iw)(r),i=(0,ke.oz)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,u.jsx)(oe,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,ke.lO)(r)[0],i=t??o.label,l=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,u.jsx)(oe,{...a,label:i,to:l})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:c,hash:d}=(0,l.TH)(),p=(0,we.Iw)(n),f=(0,we.gB)(n),{savePreferredVersionName:g}=(0,xe.J)(n),m=[...a,...f.map((e=>{const t=p.alternateDocVersions[e.name]??Se(e);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>g(e.name)}})),...o],h=(0,ke.lO)(n)[0],b=t&&m.length>1?(0,s.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,y=t&&m.length>1?void 0:Se(h).path;return m.length<=1?(0,u.jsx)(oe,{...i,mobile:t,label:b,to:y,isActive:r?()=>!1:void 0}):(0,u.jsx)(fe,{...i,mobile:t,label:b,to:y,items:m,isActive:r?()=>!1:void 0})}};function _e(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=Ee[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,u.jsx)(a,{...n})}function Ce(){const e=(0,N.e)(),t=(0,w.L)().navbar.items;return(0,u.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(_e,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Te(e){return(0,u.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,u.jsx)(s.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Pe(){const e=0===(0,w.L)().navbar.items.length,t=F();return(0,u.jsxs)(u.Fragment,{children:[!e&&(0,u.jsx)(Te,{onClick:()=>t.hide()}),t.content]})}function Ne(){const e=(0,N.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,u.jsx)(M,{header:(0,u.jsx)(Q,{}),primaryMenu:(0,u.jsx)(Ce,{}),secondaryMenu:(0,u.jsx)(Pe,{})}):null}const Ae={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Le(e){return(0,u.jsx)("div",{role:"presentation",...e,className:(0,a.Z)("navbar-sidebar__backdrop",e.className)})}function je(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,w.L)(),i=(0,N.e)(),{navbarRef:l,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,A.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i=l?n(!1):i+c{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,u.jsxs)("nav",{ref:l,"aria-label":(0,s.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.Z)("navbar","navbar--fixed-top",n&&[Ae.navbarHideable,!d&&Ae.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown}),children:[t,(0,u.jsx)(Le,{onClick:i.toggle}),(0,u.jsx)(Ne,{})]})}var Oe=n(8780);const Re={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function Ie(e){return(0,u.jsx)("button",{type:"button",...e,children:(0,u.jsx)(s.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function Fe(e){let{error:t}=e;const n=(0,Oe.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{className:Re.errorBoundaryError,children:n})}class Me extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const De="right";function ze(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,u.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,u.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Be(){const{toggle:e,shown:t}=(0,N.e)();return(0,u.jsx)("button",{onClick:e,"aria-label":(0,s.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,u.jsx)(ze,{})})}const $e={colorModeToggle:"colorModeToggle_DEke"};function Ue(e){let{items:t}=e;return(0,u.jsx)(u.Fragment,{children:t.map(((e,t)=>(0,u.jsx)(Me,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,u.jsx)(_e,{...e})},t)))})}function We(e){let{left:t,right:n}=e;return(0,u.jsxs)("div",{className:"navbar__inner",children:[(0,u.jsx)("div",{className:"navbar__items",children:t}),(0,u.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function Ze(){const e=(0,N.e)(),t=(0,w.L)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??De)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return(0,u.jsx)(We,{left:(0,u.jsxs)(u.Fragment,{children:[!e.disabled&&(0,u.jsx)(Be,{}),(0,u.jsx)(G,{}),(0,u.jsx)(Ue,{items:n})]}),right:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Ue,{items:r}),(0,u.jsx)(V,{className:$e.colorModeToggle}),!a&&(0,u.jsx)(ve,{children:(0,u.jsx)(be.Z,{})})]})})}function He(){return(0,u.jsx)(je,{children:(0,u.jsx)(Ze,{})})}function Ve(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,l=(0,X.Z)(n),s=(0,X.Z)(r,{forcePrependBaseUrl:!0});return(0,u.jsxs)(K.Z,{className:"footer__link-item",...r?{href:o?s:r}:{to:l},...i,children:[a,r&&!(0,J.Z)(r)&&(0,u.jsx)(te.Z,{})]})}function qe(e){let{item:t}=e;return t.html?(0,u.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)("li",{className:"footer__item",children:(0,u.jsx)(Ve,{item:t})},t.href??t.to)}function Ge(e){let{column:t}=e;return(0,u.jsxs)("div",{className:"col footer__col",children:[(0,u.jsx)("div",{className:"footer__title",children:t.title}),(0,u.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,u.jsx)(qe,{item:e},t)))})]})}function Ye(e){let{columns:t}=e;return(0,u.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,u.jsx)(Ge,{column:e},t)))})}function Qe(){return(0,u.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Ke(e){let{item:t}=e;return t.html?(0,u.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)(Ve,{item:t})}function Xe(e){let{links:t}=e;return(0,u.jsx)("div",{className:"footer__links text--center",children:(0,u.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)(Ke,{item:e}),t.length!==n+1&&(0,u.jsx)(Qe,{})]},n)))})})}function Je(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,u.jsx)(Ye,{columns:t}):(0,u.jsx)(Xe,{links:t})}var et=n(9965);const tt={footerLogoLink:"footerLogoLink_BH7S"};function nt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.C)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,u.jsx)(et.Z,{className:(0,a.Z)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function rt(e){let{logo:t}=e;return t.href?(0,u.jsx)(K.Z,{href:t.href,className:tt.footerLogoLink,target:t.target,children:(0,u.jsx)(nt,{logo:t})}):(0,u.jsx)(nt,{logo:t})}function at(e){let{copyright:t}=e;return(0,u.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function ot(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,u.jsx)("footer",{className:(0,a.Z)("footer",{"footer--dark":"dark"===t}),children:(0,u.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,u.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,u.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function it(){const{footer:e}=(0,w.L)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,u.jsx)(ot,{style:a,links:n&&n.length>0&&(0,u.jsx)(Je,{links:n}),logo:r&&(0,u.jsx)(rt,{logo:r}),copyright:t&&(0,u.jsx)(at,{copyright:t})})}const lt=r.memo(it),st=(0,L.Qc)([D.S,k.pl,A.OC,xe.L5,i.VC,function(e){let{children:t}=e;return(0,u.jsx)(j.n2,{children:(0,u.jsx)(N.M,{children:(0,u.jsx)(R,{children:t})})})}]);function ct(e){let{children:t}=e;return(0,u.jsx)(st,{children:t})}var ut=n(7955);function dt(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)("main",{className:"container margin-vert--xl",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,u.jsx)(ut.Z,{as:"h1",className:"hero__title",children:(0,u.jsx)(s.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,u.jsx)("div",{className:"margin-vert--lg",children:(0,u.jsx)(Ie,{onClick:n,className:"button button--primary shadow--lw"})}),(0,u.jsx)("hr",{}),(0,u.jsx)("div",{className:"margin-vert--md",children:(0,u.jsx)(Fe,{error:t})})]})})})}const pt={mainWrapper:"mainWrapper_z2l0"};function ft(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,b.t)(),(0,u.jsxs)(ct,{children:[(0,u.jsx)(i.d,{title:l,description:s}),(0,u.jsx)(v,{}),(0,u.jsx)(P,{}),(0,u.jsx)(He,{}),(0,u.jsx)("div",{id:d,className:(0,a.Z)(h.k.wrapper.main,pt.mainWrapper,r),children:(0,u.jsx)(o.Z,{fallback:e=>(0,u.jsx)(dt,{...e}),children:t})}),!n&&(0,u.jsx)(lt,{})]})}},1327:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});n(7294);var r=n(3692),a=n(4996),o=n(2263),i=n(6668),l=n(9965),s=n(5893);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,a.Z)(t.src),dark:(0,a.Z)(t.srcDark||t.src)},i=(0,s.jsx)(l.Z,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,s.jsx)("div",{className:r,children:i}):i}function u(e){const{siteConfig:{title:t}}=(0,o.Z)(),{navbar:{title:n,logo:l}}=(0,i.L)(),{imageClassName:u,titleClassName:d,...p}=e,f=(0,a.Z)(l?.href||"/"),g=n?"":t,m=l?.alt??g;return(0,s.jsxs)(r.Z,{to:f,...p,...l?.target&&{target:l.target},children:[l&&(0,s.jsx)(c,{logo:l,alt:m,imageClassName:u}),null!=n&&(0,s.jsx)("b",{className:d,children:n})]})}},197:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(7294);var r=n(5742),a=n(5893);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.Z,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},9965:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(7294),a=n(512),o=n(2389),i=n(2949);const l={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var s=n(5893);function c(e){let{className:t,children:n}=e;const c=(0,o.Z)(),{colorMode:u}=(0,i.I)();return(0,s.jsx)(s.Fragment,{children:(c?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.Z)(t,l.themedComponent,l[`themedComponent--${e}`])});return(0,s.jsx)(r.Fragment,{children:o},e)}))})}function u(e){const{sources:t,className:n,alt:r,...a}=e;return(0,s.jsx)(c,{className:n,children:e=>{let{theme:n,className:o}=e;return(0,s.jsx)("img",{src:t[n],alt:r,className:o,...a})}})}},6043:(e,t,n)=>{"use strict";n.d(t,{u:()=>c,z:()=>b});var r=n(7294),a=n(412),o=n(469),i=n(1442),l=n(5893);const s="ease-in-out";function c(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?u:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??s}`,height:`${t}px`}}function l(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return p(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function g(e){if(!a.Z.canUseDOM)return e?u:d}function m(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:s,disableSSRStyle:c}=e;const u=(0,r.useRef)(null);return f({collapsibleRef:u,collapsed:n,animation:o}),(0,l.jsx)(t,{ref:u,style:c?void 0:g(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(u.current,n),i?.(n))},className:s,children:a})}function h(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[s,c]=(0,r.useState)(t);return(0,o.Z)((()=>{t||i(!0)}),[t]),(0,o.Z)((()=>{a&&c(t)}),[a,t]),a?(0,l.jsx)(m,{...n,collapsed:s}):null}function b(e){let{lazy:t,...n}=e;const r=t?h:m;return(0,l.jsx)(r,{...n})}},9689:(e,t,n)=>{"use strict";n.d(t,{nT:()=>m,pl:()=>g});var r=n(7294),a=n(2389),o=n(12),i=n(902),l=n(6668),s=n(5893);const c=(0,o.WA)("docusaurus.announcement.dismiss"),u=(0,o.WA)("docusaurus.announcement.id"),d=()=>"true"===c.get(),p=e=>c.set(String(e)),f=r.createContext(null);function g(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.L)(),t=(0,a.Z)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&p(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,s.jsx)(f.Provider,{value:n,children:t})}function m(){const e=(0,r.useContext)(f);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},2949:(e,t,n)=>{"use strict";n.d(t,{I:()=>b,S:()=>h});var r=n(7294),a=n(412),o=n(902),i=n(12),l=n(6668),s=n(5893);const c=r.createContext(void 0),u="theme",d=(0,i.WA)(u),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,g=e=>a.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),m=e=>{d.set(f(e))};function h(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.L)(),[a,o]=(0,r.useState)(g(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&m(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[a,i])}();return(0,s.jsx)(c.Provider,{value:n,children:t})}function b(){const e=(0,r.useContext)(c);if(null==e)throw new o.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},373:(e,t,n)=>{"use strict";n.d(t,{J:()=>v,L5:()=>b});var r=n(7294),a=n(143),o=n(9935),i=n(6668),l=n(3438),s=n(902),c=n(12),u=n(5893);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,c.WA)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.WA)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.WA)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const g=r.createContext(null);function m(){const e=(0,a._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,l]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=p.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){p.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=m();return(0,u.jsx)(g.Provider,{value:n,children:t})}function b(e){let{children:t}=e;return l.cE?(0,u.jsx)(h,{children:t}):(0,u.jsx)(u.Fragment,{children:t})}function y(){const e=(0,r.useContext)(g);if(!e)throw new s.i6("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=o.m);const t=(0,a.zh)(e),[n,i]=y(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},1116:(e,t,n)=>{"use strict";n.d(t,{V:()=>c,b:()=>s});var r=n(7294),a=n(902),o=n(5893);const i=Symbol("EmptyContext"),l=r.createContext(i);function s(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(l.Provider,{value:i,children:t})}function c(){const e=(0,r.useContext)(l);if(e===i)throw new a.i6("DocsSidebarProvider");return e}},4477:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,q:()=>l});var r=n(7294),a=n(902),o=n(5893);const i=r.createContext(null);function l(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(null===e)throw new a.i6("DocsVersionProvider");return e}},3163:(e,t,n)=>{"use strict";n.d(t,{M:()=>p,e:()=>f});var r=n(7294),a=n(3102),o=n(7524),i=n(1980),l=n(6668),s=n(902),c=n(5893);const u=r.createContext(void 0);function d(){const e=function(){const e=(0,a.HY)(),{items:t}=(0,l.L)().navbar;return 0===t.length&&!e.component}(),t=(0,o.i)(),n=!e&&"mobile"===t,[s,c]=(0,r.useState)(!1);(0,i.Rb)((()=>{if(s)return c(!1),!1}));const u=(0,r.useCallback)((()=>{c((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&c(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:s})),[e,n,u,s])}function p(e){let{children:t}=e;const n=d();return(0,c.jsx)(u.Provider,{value:n,children:t})}function f(){const e=r.useContext(u);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},3102:(e,t,n)=>{"use strict";n.d(t,{HY:()=>s,Zo:()=>c,n2:()=>l});var r=n(7294),a=n(902),o=n(5893);const i=r.createContext(null);function l(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(!e)throw new a.i6("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.i6("NavbarSecondaryMenuContentProvider");const[,l]=o,s=(0,a.Ql)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},9727:(e,t,n)=>{"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n(7294);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},7524:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var r=n(7294),a=n(412);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,l]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){l(function(e){if(!a.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},5281:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},1442:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:()=>r})},3438:(e,t,n)=>{"use strict";n.d(t,{LM:()=>g,MN:()=>T,SN:()=>C,_F:()=>y,cE:()=>p,f:()=>w,jA:()=>m,lO:()=>S,oz:()=>E,s1:()=>x,vY:()=>_,xz:()=>f});var r=n(7294),a=n(6550),o=n(8790),i=n(143),l=n(373),s=n(4477),c=n(1116),u=n(7392),d=n(8596);const p=!!i._r;function f(e){const t=(0,s.E)();if(!e)return;const n=t.docs[e];if(!n)throw new Error(`no version doc found by id=${e}`);return n}function g(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=g(t);if(e)return e}}(e):void 0:e.href}function m(){const{pathname:e}=(0,a.TH)(),t=(0,c.V)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=k({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}const h=(e,t)=>void 0!==e&&(0,d.Mg)(e,t),b=(e,t)=>e.some((e=>y(e,t)));function y(e,t){return"link"===e.type?h(e.href,t):"category"===e.type&&(h(e.href,t)||b(e.items,t))}function v(e,t){switch(e.type){case"category":return y(e,t)||e.items.some((e=>v(e,t)));case"link":return!e.unlisted||y(e,t);default:return!0}}function w(e,t){return(0,r.useMemo)((()=>e.filter((e=>v(e,t)))),[e,t])}function k(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,d.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,d.Mg)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function x(){const e=(0,c.V)(),{pathname:t}=(0,a.TH)(),n=(0,i.gA)()?.pluginData.breadcrumbs;return!1!==n&&e?k({sidebarItems:e.items,pathname:t}):null}function S(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,l.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)((()=>(0,u.j)([t,n,a].filter(Boolean))),[t,n,a])}function E(e,t){const n=S(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function _(e,t){const n=S(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,u.j)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function C(e){let{route:t}=e;const n=(0,a.TH)(),r=(0,s.E)(),i=t.routes,l=i.find((e=>(0,a.LX)(n.pathname,e)));if(!l)return null;const c=l.sidebar,u=c?r.docsSidebars[c]:void 0;return{docElement:(0,o.H)(i),sidebarName:c,sidebarItems:u}}function T(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!g(e)))}},1980:(e,t,n)=>{"use strict";n.d(t,{Rb:()=>i,_X:()=>l});var r=n(7294),a=n(6550),o=n(902);function i(e){!function(e){const t=(0,a.k6)(),n=(0,o.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function l(e){return function(e){const t=(0,a.k6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}},7392:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function a(e){return Array.from(new Set(e))}n.d(t,{j:()=>a,l:()=>r})},1944:(e,t,n)=>{"use strict";n.d(t,{FG:()=>f,d:()=>d,VC:()=>g});var r=n(7294),a=n(512),o=n(5742),i=n(226);function l(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(4996),c=n(2263);var u=n(5893);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const l=function(e){const{siteConfig:t}=(0,c.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.C)(),p=a?d(a,{absolute:!0}):void 0;return(0,u.jsxs)(o.Z,{children:[t&&(0,u.jsx)("title",{children:l}),t&&(0,u.jsx)("meta",{property:"og:title",content:l}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),r&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,u.jsx)("meta",{property:"og:image",content:p}),p&&(0,u.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),l=(0,a.Z)(i,t);return(0,u.jsxs)(p.Provider,{value:l,children:[(0,u.jsx)(o.Z,{children:(0,u.jsx)("html",{className:l})}),n]})}function g(e){let{children:t}=e;const n=l(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(f,{className:(0,a.Z)(r,o),children:t})}},902:(e,t,n)=>{"use strict";n.d(t,{D9:()=>l,Qc:()=>u,Ql:()=>c,i6:()=>s,zX:()=>i});var r=n(7294),a=n(469),o=n(5893);function i(e){const t=(0,r.useRef)(e);return(0,a.Z)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function l(e){const t=(0,r.useRef)();return(0,a.Z)((()=>{t.current=e})),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function c(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},8596:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>i,Ns:()=>l});var r=n(7294),a=n(723),o=n(2263);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,o.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.Z,baseUrl:e})),[e])}},2466:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>m,OC:()=>u,RF:()=>f,o5:()=>g});var r=n(7294),a=n(412),o=n(2389),i=n(469),l=n(902),s=n(5893);const c=r.createContext(void 0);function u(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,s.jsx)(c.Provider,{value:n,children:t})}function d(){const e=(0,r.useContext)(c);if(null==e)throw new l.i6("ScrollControllerProvider");return e}const p=()=>a.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=d(),a=(0,r.useRef)(p()),o=(0,l.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=p();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function g(){const e=d(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),a=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,i.Z)((()=>{queueMicrotask((()=>n.current?.()))})),{blockElementScrollPositionUntilNextRender:a}}function m(){const e=(0,r.useRef)(null),t=(0,o.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&at&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},3320:(e,t,n)=>{"use strict";n.d(t,{HX:()=>r,os:()=>a});n(2263);const r="default";function a(e,t){return`docs-${e}-${t}`}},12:(e,t,n)=>{"use strict";n.d(t,{Nk:()=>u,WA:()=>c});var r=n(7294);const a="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function i(e){if(void 0===e&&(e=a),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,l||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),l=!0),null}var t}let l=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function c(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=i(t?.persistence);return null===n?s:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}function u(e,t){const n=(0,r.useRef)((()=>null===e?s:c(e,t))).current(),a=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(a,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}},4711:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var r=n(2263),a=n(6550),o=n(8780);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,a.TH)(),c=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),u=l===i?e:e.replace(`/${l}/`,"/"),d=c.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${u}`:`${u}${e}/`}(n)}${d}`}}}},5936:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(7294),a=n(6550),o=n(902);function i(e){const t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6668:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(2263);function a(){return(0,r.Z)().siteConfig.themeConfig}},8802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),o="/"===a||a===r?a:(i=a,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(a,o)}},4143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}});var o=n(4143);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},9318:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>C,ob:()=>f,PP:()=>P,Ep:()=>p});var r=n(3117);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&a(i[0])||i.unshift("");var g=i.join("/");return n&&"/"!==g.substr(-1)&&(g+="/"),g};var l=n(8776);function s(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function f(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=f(e,t,m(),w.location);u.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(g){var a=f(n);a&&a!==g&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var l=s(t),m=s(n),h=0;h{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,o,i,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2497:(e,t,n)=>{"use strict";n.r(t)},2295:(e,t,n)=>{"use strict";n.r(t)},4865:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function a(e,t,n){return en?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),c=o.querySelector(r.barSelector),u=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(c,i(e,u,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),c=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(a),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function c(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=p(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},2503:()=>{!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},6854:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s=o.length);s++){var c=l[s];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[a],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),g=p.indexOf(f);if(g>-1){++a;var m=p.substring(0,g),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(g+f.length),y=[];m&&y.push.apply(y,i([m])),y.push(h),b&&y.push.apply(y,i([b])),"string"==typeof c?l.splice.apply(l,[s,1].concat(y)):c.content=y}}else c.content&&i(c.content)}return l}(n.tokens)}}}})}(Prism)},9640:(e,t,n)=>{var r={"./prism-java":2503};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=9640},2703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),a=n(3840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n