coreux-components

React Components extending azure-devops-ui and office fabric

Usage no npm install needed!

<script type="module">
  import coreuxComponents from 'https://cdn.skypack.dev/coreux-components';
</script>

README

CoreUX-Components

Npm Downloads Code

Components based on and extending azure-devops-ui and Office fabric

Contributing guidelines

  • Create a Component Hierarchy (Read: https://reactjs.org/docs/thinking-in-react.html)
  • Use defaultProps
  • Use generic prop names
  • Use functional components whenever possible
  • If having a local state is absolutely required, consider using react hooks
  • Avoid using class variables using this.var. Use state for such cases
  • Component should render when no props are passed
  • Use destructuring for state and props
  • For styling, use classnames only unless you are using components from a library and a specific component is not forwarding the className explicitly.
  • All css classes must be prefixed by coreux-