React

function App() {
	const foo = () => {
		console.log('hi');
	}	

	return <div>Hello</div>
}

TypeScript

Styled-Components

width/height → position 관련 속성 → display, flex 관련 속성 → margin/padding → border 관련 속성 → font 관련 → color 관련 → 나머지

(* 예시에는 빈줄이 있지만 실제로는 안 넣는다.)

const Div = styled.div`
	width: 500px;
	height: 500px;

	position: absolute;
	top: 10px;
	left: 10px;

	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;

	margin: 0 auto;
	padding: 0;

	border: 1px solid black;

	font-size: 30px;

	background-color: white;
	color: ${({ theme }) => theme.color.neutral.textStrong};

	cursor: pointer;
`;

Import문 순서