Skip to content

Commit

Permalink
Remove primer brand (#31)
Browse files Browse the repository at this point in the history
Clean up dependencies

Co-authored-by: Frédéric Collonval <[email protected]>
  • Loading branch information
fcollonval and fcollonval authored Mar 12, 2024
1 parent d9f091a commit 31e97a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,11 @@
"homepage": "https://primer-addons.datalayer.tech",
"dependencies": {
"@datalayer/icons-react": "0.2.2",
"@primer/brand-primitives": "0.29.1",
"@primer/octicons-react": "19.6.0",
"@primer/react": "36.6.0",
"@primer/react-brand": "0.29.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-loading-skeleton": "3.3.1",
"styled-components": "5.3.10"
"react-loading-skeleton": "3.3.1"
},
"devDependencies": {
"@storybook/addon-essentials": "^7.0.9",
Expand Down
3 changes: 1 addition & 2 deletions src/components/card/Card.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from "react";
import { Box, BoxProps, Octicon, Text } from "@primer/react";
import { Icon } from "@primer/octicons-react";

export type CardProps = Omit<BoxProps, 'border'> & {
rounded?: 'small' | 'medium' | 'large' | 'full' | number;
Expand All @@ -11,7 +10,7 @@ export type CardProps = Omit<BoxProps, 'border'> & {
export type CardHeaderProps = {
title?: string;
description?: string;
leadingIcon?: Icon;
leadingIcon?: React.ElementType;
action?: React.ReactNode;
}

Expand Down
4 changes: 2 additions & 2 deletions src/components/closeable-flash/CloseableFlash.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { useState, FC } from "react";
import { Box, Flash, FlashProps, Octicon, Text } from "@primer/react";
import { Icon, XIcon } from "@primer/octicons-react";
import { XIcon } from "@primer/octicons-react";

export type CloseableFlashProps = FlashProps & {
leadingIcon?: Icon;
leadingIcon?: React.ElementType;
onClose?: () => void;
}

Expand Down

0 comments on commit 31e97a1

Please sign in to comment.