@zendeskgarden/react-chrome
Version:
Components relating to Chrome within the Garden Design System.
26 lines (23 loc) • 852 B
JavaScript
/**
* Copyright Zendesk, Inc.
*
* Use of this source code is governed under the Apache License, Version 2.0
* found at http://www.apache.org/licenses/LICENSE-2.0.
*/
import styled, { css } from 'styled-components';
import { StyledBaseIcon, componentStyles } from '@zendeskgarden/react-theming';
const COMPONENT_ID$b = 'chrome.nav_item_icon';
const sizeStyles$5 = ({
theme
}) => {
const size = theme.iconSizes.lg;
return css(["width:", ";height:", ";"], size, size);
};
const StyledNavItemIcon = styled(StyledBaseIcon).attrs({
'data-garden-id': COMPONENT_ID$b,
'data-garden-version': '9.15.4'
}).withConfig({
displayName: "StyledNavItemIcon",
componentId: "sc-7w9rpt-0"
})(["align-self:flex-start;order:0;border-radius:", ";", ";", ";"], props => props.theme.borderRadii.md, sizeStyles$5, componentStyles);
export { StyledNavItemIcon };