Use forms with or without client-side JavaScript--no code duplication required!
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- import {NextPage} from 'next';
- import * as Iceform from '@modal-sh/iceform-next';
- import {greet} from '@/handlers/greet';
-
- const ActionGreetPage: NextPage = () => null;
-
- export default ActionGreetPage;
-
- export const getServerSideProps = Iceform.action.getServerSideProps({ fn: greet });
|