Skip to content

Conversation

@ctizen
Copy link
Contributor

@ctizen ctizen commented Oct 21, 2021

Resolves #80

@ctizen ctizen requested a review from k-egor-smirnov October 21, 2021 15:05
// @elephizeTarget
export const Radio: React.FunctionComponent<React.InputHTMLAttributes<any>> = (inputProps) => {
const props = { ...defaultProps, ...inputProps };
const { useContext } = React;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

всегда нужно внутри функции брать useContext из реакта, или это просто опечатка

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Поддержать React.Context

3 participants