<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: mehrzadtejareh</title>
    <description>The latest articles on DEV Community by mehrzadtejareh (@mehrzadtejareh).</description>
    <link>https://dev.to/mehrzadtejareh</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F476524%2F3418f08a-a34f-4825-9782-44d034954b79.png</url>
      <title>DEV Community: mehrzadtejareh</title>
      <link>https://dev.to/mehrzadtejareh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mehrzadtejareh"/>
    <language>en</language>
    <item>
      <title>how to change native-base Picker fontSize and fontFamily in react native?</title>
      <dc:creator>mehrzadtejareh</dc:creator>
      <pubDate>Mon, 05 Oct 2020 12:17:02 +0000</pubDate>
      <link>https://dev.to/mehrzadtejareh/how-to-change-native-base-picker-fontsize-and-fontfamily-in-react-native-2b7j</link>
      <guid>https://dev.to/mehrzadtejareh/how-to-change-native-base-picker-fontsize-and-fontfamily-in-react-native-2b7j</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pTF_nE4a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/64208035/how-to-change-native-base-picker-fontsize-and-fontfamily-in-react-native" rel="noopener noreferrer"&gt;
               how to change native-base Picker fontSize and fontFamily in react native?
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Oct  5 '20&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 0&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/64208035/how-to-change-native-base-picker-fontsize-and-fontfamily-in-react-native" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5MiFESHx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Rk_a5QFN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;I have a Picker in my component is there any way to set fontSize and fontFamily? I try &lt;code&gt;style={{fontFamily:'iransans',fontSize:14}}&lt;/code&gt; and &lt;code&gt;itemTextStyle={{fontFamily:'iransans',fontSize:14}}&lt;/code&gt; but both of them not worked for me! ... do you have any idea?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;Picker
note
mode="dropdown"
style={{fontFamily:'iransans',fontSize:14 }}
itemTextStyle={{fontSize:16}} ...
&lt;/code&gt;&lt;/pre&gt;

    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/64208035/how-to-change-native-base-picker-fontsize-and-fontfamily-in-react-native" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>How can I define multiple static contextType in a class component?</title>
      <dc:creator>mehrzadtejareh</dc:creator>
      <pubDate>Mon, 28 Sep 2020 08:12:18 +0000</pubDate>
      <link>https://dev.to/mehrzadtejareh/how-can-i-define-multiple-static-contexttype-in-a-class-component-1lg9</link>
      <guid>https://dev.to/mehrzadtejareh/how-can-i-define-multiple-static-contexttype-in-a-class-component-1lg9</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pTF_nE4a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/64096745/how-can-i-define-multiple-static-contexttype-in-a-class-component" rel="noopener noreferrer"&gt;
               How can I define multiple static contextType in a class component?
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Sep 28 '20&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 0&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/64096745/how-can-i-define-multiple-static-contexttype-in-a-class-component" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5MiFESHx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Rk_a5QFN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;hello I wants to know how can I define multiple static ContextType when I need to use more than one context in a class component methods.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;export default class Component extends React.Component{
static contextType = MyContext1; //and MyContext2

constructor(props){
    super(props);
}

componentDidMount = () =&amp;gt; console.log(this.context); //need Context2

render(){
    return(&lt;/code&gt;&lt;/pre&gt;…
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/64096745/how-can-i-define-multiple-static-contexttype-in-a-class-component" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
  </channel>
</rss>
