UNPKG

@retailmenot/anchor

Version:

A React UI Library by RetailMeNot

20 lines 735 B
// REACT import * as React from 'react'; // VENDOR import classNames from 'classnames'; import styled from '@xstyled/styled-components'; import { space as spaceStyles } from '@xstyled/system'; // COMPONENTS import { Typography } from '../../Typography'; const StyledTitle = styled('div') ` box-sizing: border-box; display: flex; padding: 0 1rem 0; align-items: center; height: 2rem; margin-top: 0.75rem; ${spaceStyles} `; export const Title = ({ className, children, }) => (React.createElement(StyledTitle, { className: classNames('anchor-list-title', className) }, React.createElement(Typography, { weight: 700, scale: 12, color: "text.label" }, children))); //# sourceMappingURL=Title.component.js.map