mirror of
https://github.com/dsoaress/link-free.git
synced 2026-08-17 06:56:04 +01:00
22 lines
456 B
TypeScript
22 lines
456 B
TypeScript
import { useData } from '../../../hooks/useData'
|
|
|
|
export function DescriptionInput() {
|
|
const { data, setData } = useData()
|
|
|
|
return (
|
|
<textarea
|
|
style={{ height: '200px !important', width: '100% !important' }}
|
|
value={data.settings.description}
|
|
onChange={e =>
|
|
setData({
|
|
...data,
|
|
settings: {
|
|
...data.settings,
|
|
description: e.target.value
|
|
}
|
|
})
|
|
}
|
|
/>
|
|
)
|
|
}
|