Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 리액트
- array
- RecyclerView
- React
- 구글맵스
- stylesheet
- TypeScript
- 랜덤번호
- 안드로이드
- 자바스크립트
- JavaScript
- button
- 코틀린
- 오버라이딩
- Javscript
- Hook
- fragment
- Linux
- nodejs
- Java
- JS
- TextView
- 스프링부트
- Android
- GoogleMaps
- Kotlin
- npm
- scrollview
- SpringBoot
- 랜덤넘버
Archives
- Today
- Total
목록textprovider (1)
타닥타닥 개발자의 일상
react / TextProvider, useContext 통해서 다른 파일에 있는 값 화면에 구현하기
생성문 npx react-native init sample24 --template react-native-template-typescript 생성파일 src 폴더 생성 > 그 안에 component 폴더 생성 > component폴더안에 CountProvider, First, Second, Third, TextProvider 타입 스크립트 파일 생성 TextProvider.tsx import React, { createContext } from "react"; import { Text } from "react-native"; export const TextContext = createContext({}) interface Props{ children: JSX.Element } export default ..
코딩 기록/react
2022. 3. 9. 00:22