Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

react tailwind css components npm

// with npm
npm install react-tailwindcss-components
 
// with yarn
yarn add react-tailwindcss-components
Comment

react tailwind css components npm

import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'react-tailwindcss-components';
 
function App() {
  return (
    <Button className="shadow-2xl border-green-400 bg-green-400 rounded font-bold text-white">
      Hello World
    </Button>
  );
}
 
ReactDOM.render(<App />, document.querySelector('#app'));
Comment

tailwind css and react

/** @type {import('tailwindcss').Config} */ 
module.exports = {
  content: [
    "./src/**/*.{js,jsx,ts,tsx}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}
Comment

PREVIOUS NEXT
Code Example
Typescript :: update behaviorsubject value without emitting 
Typescript :: get and set in typescript 
Typescript :: <edit-config changes in this plugin conflicts with <edit-config changes in config.xml. Conflicts must be resolved before plugin can be added 
Typescript :: does any event get triggered when checked value changes programatically? 
Typescript :: eliminar un elemento de un array typescript 
Typescript :: typescript playground 
Typescript :: Warning: call_user_func_array() expects parameter 1 to be a valid callback 
Typescript :: where to create assets folder in flutter 
Typescript :: find common elements in two flutter 
Typescript :: typescript get objects nested in object 
Typescript :: cmd move all files to parent directory 
Typescript :: typescript var global: typeof globalThis 
Typescript :: read/write linked lists to file 
Typescript :: void function typescript 
Typescript :: __REDUX_DEVTOOLS_EXTENSION_COMPOSE__ 
Typescript :: react components for login 
Typescript :: Push Type Typescript 
Typescript :: ts enum 
Typescript :: styled components gatsby 
Typescript :: react native paper menu item press not working 
Typescript :: ts Facade pattern 
Typescript :: how to print brackets characters in c# 
Typescript :: requests get with sign in 
Typescript :: typescript public function 
Typescript :: import validator adonisjs 5 
Typescript :: does casting have a higher precedence than dots java 
Typescript :: how to use typescript map 
Typescript :: nextjs waiting for compiling problem 
Typescript :: number of vibrations per second is called 
Typescript :: my controller is not recognized and it actually exists why is this happening 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =