Skip to content

Commit 51a828b

Browse files
author
Amrit Kashyap Borah
committed
fix: review comments
1 parent e9122df commit 51a828b

4 files changed

Lines changed: 2 additions & 24 deletions

File tree

src/Common/DraggableWrapper/DraggableButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ import React from 'react'
1818
import { ReactComponent as ICDrag } from '../../Assets/Icon/ic-drag.svg'
1919
import { DraggableButtonProps } from './types'
2020

21-
export default function DraggableButton({ dragClassName, svgClassName = 'fcn-6' }: DraggableButtonProps) {
21+
export default function DraggableButton({ dragClassName }: DraggableButtonProps) {
2222
return (
2323
<button
2424
type="button"
2525
className={`${dragClassName} dc__outline-none-imp dc__no-border p-0 dc__transparent h-20`}
2626
>
27-
<ICDrag className={`dc__grabbable icon-dim-20 ${svgClassName}`} />
27+
<ICDrag className="dc__grabbable icon-dim-20 fcn-6" />
2828
</button>
2929
)
3030
}

src/Common/DraggableWrapper/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,4 @@ export interface DraggableWrapperProps {
4949
*/
5050
export interface DraggableButtonProps {
5151
dragClassName: string
52-
svgClassName?: string
5352
}

src/Shared/Components/Typewriter/Typewriter.component.tsx

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
export { BlinkingCursor } from './BlinkingCursor'
2-
export { Typewriter } from './Typewriter.component'
32
export { useTypewriter } from './useTypewriter'

0 commit comments

Comments
 (0)