What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2022-03-02 17:55:02
defining component layout next ts
import { NextPage } from 'next' import { ComponentType, ReactElement, ReactNode } from 'react' export type Page<P = {}> = NextPage<P> & { // You can disable whichever you don't need getLayout?: (page: ReactElement) => ReactNode l... Add solution -
TypeScript 2021-10-02 14:45:02
npx react-native init MyApp --template react-native-template-typescript not working
// ================ react-native-template-typescript ===================== ########### This template only works with the new CLI.############### first check if you have right react-native-cli intall check via )=====> react-native-cli -v if exixs... Add solution -
Javascript 2021-09-18 22:16:03
how to creat 6 image ui for react native
import React, { Component } from 'react'; import { AppRegistry } from 'react-native'; import Gallery from './src/pages/Gallery'; export default class ReactNativeCommonScreens extends Component { render() { &nbs... Add solution -
TypeScript 2021-08-28 07:58:02
not working npx react-native init MyApp --template react-native-template-typescript
// ================ react-native-template-typescript ===================== ########### This template only works with the new CLI.############### first check if you have right react-native-cli intall check via )=====> react-native-cli -v if exixs... Add solution
Best helpers
Ranking is empty