@itwin/appui-layout-react
TypeScript icon, indicating that this package has built-in type declarations

4.8.3 • Public • Published

@itwin/appui-layout-react

Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.

Description

The @itwin/appui-layout-react package contains internal React components for the AppUI-react panels, widget UI and other purposes and is not expected to be used directly by applications.

Documentation

See the iTwin.js documentation for more information.

Coding Guidelines

Look at the existing code and try to keep your code similar.

  • Every component class name should follow nz-path-to-component-componentName naming style.

  • Every inner class name should have nz- prefix.

  • Import the Sass classnames with: import "./YourComponent.scss";

  • Every component should accept className?: string and style?: React.CSSProperties props.

  • Components that accept one or a list of children should use the children?: React.ReactNode prop.

Advice

  • Use classnames function to create className strings for the elements.

  • Use const className inside render for the root element className value.

Readme

Keywords

Package Sidebar

Install

npm i @itwin/appui-layout-react

Weekly Downloads

2,609

Version

4.8.3

License

MIT

Unpacked Size

2.48 MB

Total Files

1028

Last publish

Collaborators

  • wgoehrig
  • cshafer
  • aruniverse
  • imodeljs
  • colinkerr