mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-26 12:02:19 +00:00
* chore: arrow-body-style func-style is added in the rule * fix: linting issues fixed Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
14 lines
280 B
TypeScript
14 lines
280 B
TypeScript
import styled from 'styled-components';
|
|
|
|
interface TextContainerProps {
|
|
noButtonMargin?: boolean;
|
|
}
|
|
|
|
export const TextContainer = styled.div<TextContainerProps>`
|
|
display: flex;
|
|
|
|
> button {
|
|
margin-left: ${({ noButtonMargin }): string =>
|
|
noButtonMargin ? '0' : '0.5rem'}
|
|
`;
|