김재형

Add header to FileList component

1 +.header {
2 + display: flex;
3 + justify-content: space-between;
4 + margin-bottom: 20px;
5 +}
6 +
1 .actions { 7 .actions {
2 a { 8 a {
3 margin: 0 4px; 9 margin: 0 4px;
......
...@@ -44,7 +44,13 @@ export function FileList() { ...@@ -44,7 +44,13 @@ export function FileList() {
44 44
45 return ( 45 return (
46 <div> 46 <div>
47 - {data.parent !== null && <h3>{data.name}</h3>} 47 + <div className={styles.header}>
48 + <div>{data.parent !== null && <h3>{data.name}</h3>}</div>
49 + <div className={styles.actions}>
50 + <a>파일 업로드</a>
51 + <a>새 폴더</a>
52 + </div>
53 + </div>
48 <Table 54 <Table
49 rowKey="id" 55 rowKey="id"
50 columns={getColumns({ 56 columns={getColumns({
......