# @udecode/cn

## 40.2.8

## 39.0.0

## 38.0.1

## 37.0.0

## 33.0.0

## 31.0.0

## 29.0.1

### Patch Changes

- [#2841](https://github.com/udecode/plate/pull/2841) by [@zbeyens](https://github.com/zbeyens) – Fix `withCn`, `withProps` and `withVariants` component type errors in strict mode

## 29.0.0

### Minor Changes

- [#2829](https://github.com/udecode/plate/pull/2829) by [@zbeyens](https://github.com/zbeyens) – New package

  - `cn`: utility function to conditionally join classNames
  - `withCn`: Set default `className` to a component using `cn`
  - `withProps`: Set default props to a component
  - `withVariants`: Set default `className` to a component using variants from `class-variance-authority`
