-
Notifications
You must be signed in to change notification settings - Fork 1
feat: 닉네임으로 프로필을 설정하는 경우 페이지 구성 및 로직 구성 #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다!
export default function NicknameProfile({ navigation }: NicknameProfileProps) { | ||
const route = useRoute<SignupRouteProps<'Signup/NicknameProfile'>>(); | ||
const { nickname } = route.params; | ||
const [selectColor, setSelectColor] = useState(NICKNAME_COLOR_SET[0]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
밑에랑 동일하게 selectedColor도 좋을 것 같습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
변경하였습니다~
c4411d1
to
025ab9e
Compare
참고
배경별 글자 색상은 tinycolor2를 통해 구할 수 있었습니다.
배경색보다 25 어두운 색상으로 지정하였습니다.