[React] Props 사용하기

Eunjae Tony Lee·2022년 12월 29일
0

React

목록 보기
5/9

1. Props란?

props는 읽기 전용 입니다.

2. Props 사용방법

function sum(a, b) {
  return a + b;
}
function withdraw(account, amount) {
  account.total -= amount;
}
profile
철학하는 개발자

0개의 댓글