adding primary and compact buttons
Summary: Adding a style for `primary` buttons Reviewed By: priteshrnandgaonkar Differential Revision: D13417284 fbshipit-source-id: 8ef46092d79ee0f9d39167aa2662a84caca9aa11
This commit is contained in:
committed by
Facebook Github Bot
parent
6ffc027051
commit
c540fe5529
@@ -14,6 +14,7 @@ const ColoredIconBlack = styled('img')(({size}) => ({
|
||||
height: size,
|
||||
verticalAlign: 'middle',
|
||||
width: size,
|
||||
flexShrink: 0,
|
||||
}));
|
||||
|
||||
const ColoredIconCustom = styled('div')(props => ({
|
||||
@@ -26,6 +27,7 @@ const ColoredIconCustom = styled('div')(props => ({
|
||||
maskSize: '100% 100%',
|
||||
WebkitMaskImage: `url('${props.src}')`,
|
||||
WebkitMaskSize: '100% 100%',
|
||||
flexShrink: 0,
|
||||
}));
|
||||
|
||||
function ColoredIcon(
|
||||
|
||||
Reference in New Issue
Block a user