File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed
Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ import {
1212import { groupSub } from 'group-sub' ;
1313import { ErrorBoundary } from 'react-error-boundary' ;
1414
15- import { ShortInput } from '@/components/molecules /ShortInput' ;
16- import { LongInput } from '@/components/molecules /LongInput' ;
15+ import { ShortInput } from '@/components/ui /ShortInput' ;
16+ import { LongInput } from '@/components/ui /LongInput' ;
1717import { Card , CardContent } from '@/components/ui/card' ;
1818import { Button } from '@/components/ui/button' ;
1919import { StaticEditor } from '@/components/molecules/StaticEditor' ;
File renamed without changes.
Original file line number Diff line number Diff line change 1+ export function ShortInput ( { onChange } : { onChange : ( value : string ) => void } ) {
2+ return (
3+ < span
4+ contentEditable
5+ className = "border border-zinc-300 dark:border-zinc-600 min-w-16 h-auto inline-block"
6+ onInput = { e => onChange ( ( e . target as HTMLDivElement ) . innerText ) }
7+ >
8+
9+ </ span >
10+ ) ;
11+ }
You can’t perform that action at this time.
0 commit comments