Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

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'));
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #react #tailwind #css #components #npm
ADD COMMENT
Topic
Name
9+5 =