Skip to content

Commit

Permalink
Merge pull request #181 from Lemoncode/feature/refactor-accordion
Browse files Browse the repository at this point in the history
Feature/refactor accordion
  • Loading branch information
brauliodiez authored Aug 12, 2024
2 parents 7085ad2 + 490c4d9 commit 2e27ecd
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Group } from 'react-konva';
import { ShapeSizeRestrictions } from '@/core/model';
import { forwardRef, useEffect, useMemo, useState } from 'react';
import { ShapeProps } from '../front-components/shape.model';
import { ShapeProps } from '../../front-components/shape.model';
import { AccordionAllParts } from './components';
import {
calculateDynamicContentSizeRestriction,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { forwardRef } from 'react';
import { Group, Rect, Text } from 'react-konva';
import { ShapeProps } from '../../front-components/shape.model';
import { TriangleSelector } from './triangle-selector.component';
import { ShapeProps } from '@/common/components/front-components/shape.model';

interface Props extends ShapeProps {
isSelected: boolean;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './accordion';
2 changes: 1 addition & 1 deletion src/core/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export type ShapeType =
| 'rectangle'
| 'videoPlayer'
| 'diamond'
| 'line';
| 'line'
| 'accordion';
/* | "text"| "button" | "radio" | "image"*/

Expand Down

0 comments on commit 2e27ecd

Please sign in to comment.