Socialbook Test
Simulate an iOS desktop that includes features:
- Drag n drop app icons and re-sort them.
- Long press to enable the shake animation and allow deleting.
- Resonponsive display (6x5 for over 1000px, 5x6 for 800px ~ 1000px, and etc.).
(took about 2~3 hrs)
based on React + TypeScript comp lib: react-sortablejs
Directory
- components // React组件
- deskTopContainer // 容器组件
- appItem // 普通子组件
- models // 数据模型