Buckets:
silverwolf-x/project / packages /next-codemod /transforms /__testfixtures__ /next-async-request-api-dynamic-apis /async-api-06.input.tsx
| import React from 'react' | |
| import { draftMode } from 'next/headers' | |
| export default function Page() { | |
| return <button disabled={draftMode().isEnabled}>Enable Draft Mode</button> | |
| } | |
Xet Storage Details
- Size:
- 180 Bytes
- Xet hash:
- d9374436f9b85bb84c99edf54b939afc5741d976f128273ac47c92f95e663516
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.