일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- front-end
- 풀스택
- button
- 비전공자
- MAC
- 프론트엔드
- 비전공 개발자
- CSS
- Animation
- SWIFT
- effect
- IOS
- 백엔드
- iOS 개발자
- html5
- jQuery
- ipad
- javascript
- 개발자
- keyframes
- iPhone
- HTML
- xcode
- 자바스크립트
- php
- react
- 애니메이션
- css3
- hover
- image
- Today
- Total
목록컴포넌트 (2)
비전공자 개발일기
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dwKn1b/btrqGUmxutM/FxjvebSdTenNKlio8w1YAk/img.jpg)
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..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/rf8im/btrqtTPoLAD/4eOZtDakYtxPM3UvTMOoEk/img.jpg)
컴포넌트(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..