Components for the DeepView UI used within its webview and VSCode extension
- React UI components and utility functions
Install the package from npm:
npm install -D @centml/deepview-ui
In your application's Tailwind CSS config, extend your content array with the path to CentML UI. This will ensure all Tailwind utilities required by the library are generated.
/** @type {import('tailwindcss').Config} */
module.exports = {
presets: [],
content: ['./node_modules/@centml/deepview-ui/dist/**/*.js'],
theme: {
extend: {}
}
};
You can import components, utility functions, and types from the top-level module:
import { Breakdown, getStatsUsage, type ProfilingData } from '@centml/deepview-ui';