Skip to content

Homework1#84

Open
APetrov86 wants to merge 4 commits into
React-js-OTUS:mainfrom
APetrov86:homework1
Open

Homework1#84
APetrov86 wants to merge 4 commits into
React-js-OTUS:mainfrom
APetrov86:homework1

Conversation

@APetrov86
Copy link
Copy Markdown

const transformRegexp =
/(matrix\(-?\d+(\.\d+)?, -?\d+(\.\d+)?, -?\d+(\.\d+)?, -?\d+(\.\d+)?, )(-?\d+(\.\d+)?), (-?\d+(\.\d+)?)\)/;

export const getTransformFromCss = (transformCssString: string): { x: number; y: number } => {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

{ x: number; y: number } стоит вынести в отдельный тип

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.

2 participants