@ds-ale-projects/ds_desty_ui_rollup_003
v0.0.12
Published
Design system for Desty app
Downloads
746
Maintainers
Readme
DS Desty UI
Installation
- Go to project folder
cd test-package-001
- (Optional, but recommend do it) Clean your workspace
rm -rf node_modules package-lock.json pnpm-lock.yaml
- Install our component library
npm i -D @ds-ale-projects/ds_desty_ui_rollup_003
Create a wrapper component
- Go to components folder
cd src/components
mkdir wrappers
cd wrappers
touch WrapperLinks.tsx
- Create wrapper component
import { AppLink } from '@ds-ale-projects/ds_desty_ui_rollup_003';
export function WrapperLinks() {
return (
<div>
<AppLink href="#explore">Explore</AppLink>
</div>
);
}
- Update
App.tsx
import { WrapperLinks } from './components/wrappers/WrapperLinks';
export function App() {
return (
<main>
<h1>Desty & Rollup - 001</h1>
<WrapperLinks />
</main>
);
}