@zendeskgarden/react-accordions
Version:
Components related to accordions in the Garden Design System
25 lines (22 loc) • 951 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 from 'styled-components';
import { getLineHeight, getColor, componentStyles } from '@zendeskgarden/react-theming';
const COMPONENT_ID$h = 'accordions.step_inner_content';
const StyledInnerContent = styled.div.attrs({
'data-garden-id': COMPONENT_ID$h,
'data-garden-version': '9.15.5'
}).withConfig({
displayName: "StyledInnerContent",
componentId: "sc-1xs9fh7-0"
})(["margin:-", ";padding:", ";overflow:hidden;line-height:", ";color:", ";font-size:", ";", ";"], props => props.theme.space.xxs, props => props.theme.space.xxs, props => getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), ({
theme
}) => getColor({
theme,
variable: 'foreground.default'
}), props => props.theme.fontSizes.md, componentStyles);
export { StyledInnerContent };