일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
- 비전공 개발자
- 프론트엔드
- button
- javascript
- 애니메이션
- 자바스크립트
- iPhone
- IOS
- css3
- jQuery
- image
- react
- 백엔드
- 비전공자
- ipad
- hover
- iOS 개발자
- xcode
- effect
- Animation
- HTML
- front-end
- 풀스택
- CSS
- MAC
- html5
- keyframes
- SWIFT
- 개발자
- php
- Today
- Total
목록컴포넌트 (2)
비전공자 개발일기

Props: Properties의 줄임말, 부모 컴포넌트로부터 전달된 속성값 또는 상속받은 속성값 - 부모 컴포넌트가 자식 컴포넌트의 props를 설정하면 자식 컴포넌트에서는 해당 props를 사용할 순 있지만 수정은 불가능 (수정을 원하면 부모 컴포넌트에서 수정) import React from 'react'; import { Text, View } from 'react-native'; import MyButton from './components/MyButton'; const App = () => { return ( Props alert('props')} /> alert('children')}> Children Props alert('default')} /> ); }; export default Ap..

컴포넌트(Component) 재사용이 가능한 조립 블록, 화면에 나타나는 UI 요소 부모로부터 받은 속성(Props)나 자신의 상태(State)에 따라 표현이 달라지고 다양한 기능을 수행 (내장 컴포넌트) https://reactnative.dev/docs/components-and-apis (View, Text 등) Core Components and APIs · React Native React Native provides a number of built-in Core Components ready for you to use in your app. You can find them all in the left sidebar (or menu above, if you are on a narrow scree..