Skip to content

Commit

Permalink
fix: add missing CSS injection to Checkbox in React
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Dec 15, 2024
1 parent 92ee68e commit 890d7e7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/pretty-pets-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@utrecht/checkbox-react": patch
---

Add missing CSS injection to Checkbox in React.
8 changes: 6 additions & 2 deletions packages/components-react/checkbox-react/src/css.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
* Copyright (c) 2021-2024 Gemeente Utrecht
*/

import '@utrecht/custom-checkbox-css/dist/index.mjs';
import '@utrecht/checkbox-css/dist/index.mjs';
import css from '@utrecht/checkbox-css/dist/index.mjs';
import css2 from '@utrecht/custom-checkbox-css/dist/index.mjs';
import { insertStyle } from './insert-style';

insertStyle(css);
insertStyle(css2);

export type { CheckboxProps } from './index';
export { Checkbox } from './index';

0 comments on commit 890d7e7

Please sign in to comment.