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