질문
코드 리뷰
interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {
icon?: IconNames;
bgColor?: keyof typeof colors;
bgHoverColor?: keyof typeof colors;
bgDisabledColor?: keyof typeof colors;
borderColor?: keyof typeof colors;
textColor?: keyof typeof colors;
textVariant?: `text-${keyof typeof fontSize}`;
shape?: "rounded" | "circle";
paddingX?: number;
paddingY?: number;
iconSize?: number;
block?: boolean;
textAlign?: "left" | "center" | "right";
}
"modal-dimmer": 99
modal: 100,
취업 관련
useFetch
getNoticeList: ({
offset,
limit,
address,
keyword,
startsAtGte,
hourlyPayGte,
sort,
}: GetNoticeListData) => {
const params = {
offset,
limit,
address,
keyword,
startsAtGte,
hourlyPayGte,
sort,
};
return axiosInstance.get(`/notices`, { params });
},
책 추천: 클린 애자일