250x250
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 | 29 | 30 | 31 |
Tags
- button
- react
- HTML
- Animation
- IOS
- 비전공 개발자
- 풀스택
- 개발자
- 비전공자
- MAC
- hover
- 애니메이션
- 자바스크립트
- html5
- 프론트엔드
- CSS
- jQuery
- xcode
- javascript
- ipad
- 백엔드
- image
- effect
- iOS 개발자
- iPhone
- php
- front-end
- css3
- SWIFT
- keyframes
Archives
- Today
- Total
목록props (1)
비전공자 개발일기
![](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..
React & React Native
2022. 1. 13. 22:19