1.5.1 • Published 22 days ago
@laser-ui/components v1.5.1
English | 简体中文
Installation
npm install @laser-ui/components @laser-ui/hooks @laser-ui/themes @laser-ui/utils
Getting Started
import type { LContextIn } from '@laser-ui/components/context';
import { ConfigProvider, Root } from '@laser-ui/components';
import { useMemo } from 'react';
export default function App() {
const lContext = useMemo<LContextIn>(
() => ({
layoutPageScrollEl: '#app-main',
layoutContentResizeEl: '#app-content',
}),
[],
);
return (
<ConfigProvider context={lContext}>
<Root>
<main id="app-main" style={{ overflow: 'auto' }}>
<section id="app-content" style={{ height: '200vh' }}>
Some content...
</section>
</main>
</Root>
</ConfigProvider>
);
}
Links
Contributing
Please read our contributing guide first.
License
1.5.1
22 days ago
1.5.0
1 month ago
1.4.0
1 month ago
1.3.0
2 months ago
1.2.0
2 months ago
1.1.1
3 months ago
1.1.0
3 months ago
1.0.2
4 months ago
1.0.1
4 months ago
1.0.0
5 months ago
0.6.7
5 months ago
0.6.6
5 months ago
0.6.3
6 months ago
0.6.5
5 months ago
0.6.4
6 months ago
0.6.2
7 months ago
0.6.1
7 months ago
0.6.0
9 months ago
0.5.0
10 months ago
0.4.1
12 months ago
0.4.0
12 months ago
0.3.0
1 year ago
0.2.2
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago
0.1.6
1 year ago
0.1.5
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.1
1 year ago