mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 03:30:54 +00:00
[PUI] More style fixes (#7142)
* fix interface names * use Readonly for props * fix typescript:S3863 * require hashes in package installer too
This commit is contained in:
@ -217,7 +217,7 @@ type InvenTreeIconProps = {
|
||||
iconProps?: TablerIconProps;
|
||||
};
|
||||
|
||||
export function InvenTreeIcon(props: InvenTreeIconProps) {
|
||||
export function InvenTreeIcon(props: Readonly<InvenTreeIconProps>) {
|
||||
let Icon: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
||||
|
||||
if (props.icon in icons) {
|
||||
|
Reference in New Issue
Block a user