feat: add UI components and utilities
- Introduced Skeleton component for loading states. - Added Slider component with customizable properties. - Implemented Sonner for toast notifications. - Created Switch component for toggle functionality. - Developed Table component with header, body, footer, and cell subcomponents. - Added Tabs component with list, trigger, and content subcomponents. - Implemented Tooltip component with provider, trigger, and content. - Created useIsMobile hook for responsive design. - Added global styles in index.css with custom properties. - Implemented utility function for class name merging. - Set up main entry point for the application. - Configured TypeScript settings for the application and node. - Set up Vite configuration with React and Tailwind CSS support.
This commit is contained in:
10
src/main.tsx
Normal file
10
src/main.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { createRoot } from 'react-dom/client'
|
||||
import { BrowserRouter } from 'react-router'
|
||||
import App from './App.tsx'
|
||||
import './index.css'
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
<BrowserRouter>
|
||||
<App />
|
||||
</BrowserRouter>,
|
||||
)
|
||||
Reference in New Issue
Block a user