Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>r0New to Visual Studio Code? Get it now.
r0

r0

robertotauille

|
92 installs
| (2) | Free
Snippets for JS, TS and React ♥.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

r0

Snippets for JS, TS and React ♥.

Supported languages (file extensions)

  • JavaScript (.js)
  • JavaScript React (.jsx)
  • TypeScript (.ts)
  • TypeScript React (.tsx)

All Methods

imp

import $1 from '$1';

imd

import { $2 } from '$1';

imr

import React from 'react';

ims

import styled from 'styled-components';

imsn

import styled from 'styled-components/native';

clg

console.log($1);

nf

const $1 = ($2) => {
  $3
};

rf

import React from 'react';

const $1 = () => {
  return (
    <div>
      $2
    </div>
  );
};

export default $1;

rnf

import React from 'react';
import { View, Text } from 'react-native';

const $1 = () => {
  return (
    <View>
      <Text> $2 </Text>
    </View>
  );
};

export default $1;

sc

const $1 = styled.$2`
  $3
`;

sp

${(prop) => prop.$1};

st

${({theme}) => theme.$1};
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft