Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

Conversation

@Irinaristova
Copy link
Contributor

No description provided.

@github-actions github-actions bot added @atoms Changes inside atoms @molecules labels May 28, 2021
@Irinaristova Irinaristova force-pushed the feat/FRNT-438-rewite-select-with-list-and-popover branch from cdebeee to b7586c5 Compare May 31, 2021 09:39
@Irinaristova Irinaristova marked this pull request as draft June 8, 2021 10:22
@Irinaristova Irinaristova marked this pull request as ready for review July 14, 2021 16:54
@Irinaristova Irinaristova force-pushed the feat/FRNT-438-rewite-select-with-list-and-popover branch from 668ceb0 to 6cb2433 Compare July 15, 2021 13:21
Comment on lines +10 to +11
onClick?: React.EventHandler<React.SyntheticEvent>;
role?: string;

Choose a reason for hiding this comment

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

suggestion: может стоит заменить на что-то вроде

type ListElementProps = React.HTMLAttributes<HTMLLIElement> & { /* our props */ }

И все оставшиеся пропсы в итоге спредить в элемент

focus?: boolean;
}

const UploadAreaBase: React.FC<UploadAreaProps & Priority> = ({

Choose a reason for hiding this comment

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

thought: Может стоит это выносить в UploadAreaProps (через intersection)? Как минимум если будем экспортировать UploadAreaProps, будет не очень правильно с типами

version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.5.tgz#848d7b9f031caca9d0cd0af01b063f226f52d785"
integrity sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA==
<<<<<<< HEAD

Choose a reason for hiding this comment

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

nitpick(blocking): у тебя тут что-то осталось из конфликта)

version "7.14.6"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.6.tgz#d85cc68ca3cac84eae384c06f032921f5227f4b2"
integrity sha512-oG0ej7efjEXxb4UgE+klVx+3j4MVo+A2vCzm7OUN4CLo6WhQ+vSOD2yJ8m7B+DghObxtLxt3EfgMWpq+AsWehQ==
<<<<<<< HEAD

Choose a reason for hiding this comment

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

nitpick(blocking): и еще что-то

"@babel/helper-create-class-features-plugin" "^7.14.5"
"@babel/helper-plugin-utils" "^7.14.5"
"@babel/plugin-syntax-private-property-in-object" "^7.14.5"
<<<<<<< HEAD

Choose a reason for hiding this comment

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

nitpick(blocking): еще

Copy link

@risenxxx risenxxx left a comment

Choose a reason for hiding this comment

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

.

const camelCase = (string: string) => string.charAt(0).toLowerCase() + string.slice(1);

const hasHandler = (handler: Handler, key: string) => {
return Object.prototype.hasOwnProperty.call(handler, key);
Copy link

@risenxxx risenxxx Jul 20, 2021

Choose a reason for hiding this comment

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

Это для фикса возможной проблемы, что там не объект прилетит (вообще как бы практически не важно, но закрыть варнинг)

@sergeysova sergeysova marked this pull request as draft August 30, 2021 08:46
@sergeysova sergeysova requested review from risenxxx and tatinacher and removed request for ainursharaev and rchubarkin August 30, 2021 08:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

@atoms Changes inside atoms @molecules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants