We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
여러분들은 React.FC를 적용하시나요?
솔직히 이건 좀 보고 놀랐어요.
declare global { namespace JSX { inerface Element extends React.ReactElement<any, any> {} } }
ReactElement와 ReactNode는 언제 어디서 사용할 수 있을까요?
최근 프로젝트에서 이야기 했었던 것도 나왔었네요. DetailedHTMLProps, ComponsntWithoutRef
제네릭 컴포넌트
interface SelectProps<OptinoType extends Record<string, string>> { option: OptionType; selectedOption?: keyof OptionType; onChange?: (selected?: keyof OptionType) => void; } const Select = <OptionType extends Records<string, string>>({ options, selectedOption, onChange, }: SelectProps<OptionType>) => { // Select component implementation };
The text was updated successfully, but these errors were encountered:
loopy-lim
No branches or pull requests
여러분들은 React.FC를 적용하시나요?
솔직히 이건 좀 보고 놀랐어요.
ReactElement와 ReactNode는 언제 어디서 사용할 수 있을까요?
최근 프로젝트에서 이야기 했었던 것도 나왔었네요. DetailedHTMLProps, ComponsntWithoutRef
제네릭 컴포넌트
The text was updated successfully, but these errors were encountered: