Chonky icon indicating copy to clipboard operation
Chonky copied to clipboard

Update to latest material ui, fortawesome, etc.

Open paralin opened this issue 3 years ago • 9 comments

I've started a fork with the @aperturerobotics/ prefix to update chonky: https://github.com/aperturerobotics/react-chonky/tree/aperture

Currently have upgraded all packages, migrated to latest mui, and updated the icons package.

paralin avatar Jan 23 '23 05:01 paralin

Hi @paralin!

Thank you for doing this, I have been looking for an updated package; I was wondering how can I use this updated version in my project. I am currently using the version 2 of Chonky.

Thank you :)

tinanemati avatar Oct 19 '23 19:10 tinanemati

@tinanemati You can use the forked version by replacing imports of chonky with the fork @aperturerobotics/chonky.

See: https://github.com/aperturerobotics/react-chonky/tree/master#usage

Hope that helps.

paralin avatar Oct 19 '23 21:10 paralin

Thank you :)

tinanemati avatar Oct 19 '23 21:10 tinanemati

@paralin sorry quick question, do I need to update anything here? if so what should I change it to?

import { setChonkyDefaults } from "chonky";
import { ChonkyIconFA } from "chonky-icon-fontawesome";
import { FullFileBrowser } from "chonky";
import { ChonkyActions, FileHelper } from "chonky";

tinanemati avatar Oct 19 '23 21:10 tinanemati

@tinanemati

import { setChonkyDefaults } from "@aperturerobotics/chonky";
import { ChonkyIconFA } from "@aperturerobotics/chonky-icon-fontawesome";
import { FullFileBrowser } from "@aperturerobotics/chonky";
import { ChonkyActions, FileHelper } from "@aperturerobotics/chonky";

paralin avatar Oct 19 '23 21:10 paralin