Skip to content

Commit

Permalink
v0.0.150: update tooltip type interface to include new style prop (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
j4p3 committed Jun 12, 2020
1 parent ad32cd9 commit 69eddfa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ic-snacks",
"version": "0.0.149",
"version": "0.0.150",
"description": "The Instacart Component Library for Web",
"main": "dist/snacks.js",
"module": "dist/esm/index.js",
Expand Down
8 changes: 8 additions & 0 deletions src/components/Tooltip/Tooltip.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ export interface TooltipProps {
boxShadow?: string
}

// phasing in a new style override prop to avoid using native react prop
customStyle?: {
border?: string
padding?: string
boxShadow?: string
backgroundColor?: string
}

overlayStyle?: React.CSSProperties

arrowStyle?: {
Expand Down

0 comments on commit 69eddfa

Please sign in to comment.