1.5.1 • Published 2 months ago

@laser-ui/components v1.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

npm latest package npm bundle size gitHub workflow status

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

gitHub license

1.5.1

2 months ago

1.5.0

2 months ago

1.4.0

2 months ago

1.3.0

3 months ago

1.2.0

3 months ago

1.1.1

4 months ago

1.1.0

4 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

6 months ago

0.6.7

6 months ago

0.6.6

6 months ago

0.6.3

7 months ago

0.6.5

7 months ago

0.6.4

7 months ago

0.6.2

8 months ago

0.6.1

8 months ago

0.6.0

10 months ago

0.5.0

11 months ago

0.4.1

1 year ago

0.4.0

1 year 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