18.6.2 • Published 2 years ago
@react-devui/utils v18.6.2
English | 简体中文
Installation
yarn add @react-devui/ui @react-devui/icons @react-devui/hooks @react-devui/utils
Getting Started
import type { DRootProps } from '@react-devui/ui';
import { useMemo } from 'react';
import { DRoot } from '@react-devui/ui';
export default function App() {
const rootContext = useMemo<DRootProps['context']>(
() => ({
layout: { pageScrollEl: '#app-main', contentResizeEl: '#app-content' },
}),
[]
);
return (
<DRoot context={rootContext}>
<main id="app-main" style={{ overflow: 'auto' }}>
<section id="app-content" style={{ height: '200vh' }}>
Some content...
</section>
</main>
</DRoot>
);
}
Links
Contributing
Please read our contributing guide first.
Need unit test support (Jest) 🤝.
License
18.6.2
2 years ago
18.6.1
2 years ago
18.6.0
2 years ago
18.5.13
2 years ago
18.5.12
2 years ago
18.5.7
2 years ago
18.5.6
2 years ago
18.5.5
2 years ago
18.5.4
2 years ago
18.5.9
2 years ago
18.5.8
2 years ago
18.5.11
2 years ago
18.5.10
2 years ago
18.3.7
2 years ago
18.3.6
2 years ago
18.5.3
2 years ago
18.3.5
2 years ago
18.5.2
2 years ago
18.3.4
2 years ago
18.5.1
2 years ago
18.3.3
2 years ago
18.5.0
2 years ago
18.4.1
2 years ago
18.4.0
2 years ago
18.3.2
2 years ago
18.1.4
2 years ago
18.3.1
2 years ago
18.3.0
2 years ago
18.2.0
2 years ago
0.1.0-alpha.10
2 years ago
18.0.5
2 years ago
0.1.0-alpha.11
2 years ago
1.0.0-alpha.1
2 years ago
1.0.0-alpha.0
2 years ago
18.1.3
2 years ago
18.0.4
2 years ago
18.1.2
2 years ago
18.0.3
2 years ago
18.1.1
2 years ago
18.0.2
2 years ago
18.1.0
2 years ago
18.0.1
2 years ago
18.0.0
2 years ago
0.1.0-alpha.9
2 years ago
0.1.0-alpha.8
2 years ago
0.1.0-alpha.7
2 years ago
0.1.0-alpha.6
2 years ago
0.1.0-alpha.5
2 years ago
0.1.0-alpha.4
2 years ago
0.1.0-alpha.3
2 years ago
0.1.0-alpha.2
2 years ago
0.1.0-alpha.1
2 years ago
0.1.0-alpha.0
2 years ago