import styled from '@emotion/styled'; import {motion} from 'framer-motion'; import {space} from 'sentry/styles/space'; import testableTransition from 'sentry/utils/testableTransition'; const StepHeading = styled( (props: React.ComponentProps & {step: number}) => ( ) )` margin-left: calc(-${space(2)} - 30px); position: relative; display: inline-grid; grid-template-columns: max-content auto; gap: ${space(2)}; align-items: center; &:before { content: '${p => p.step}'; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; background-color: ${p => p.theme.yellow300}; border-radius: 50%; color: ${p => p.theme.textColor}; font-size: 1rem; } `; export default StepHeading;