@catho/quantum-storybook-ui
Version:
A **Design System** is the complete set of design standards, documentation, and principles along with the toolkit (UI patterns and code components) to achieve those standards. Over time, these 'systems' are growing in popularity - a very popular one is [Q
20 lines (15 loc) • 391 B
JSX
import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
const StoryContainer = styled.div`
margin: 0 auto;
max-width: 87%;
padding-bottom: 90px;
`;
const Title = ({ children, ...rest }) => (
<StoryContainer {...rest}>{children}</StoryContainer>
);
Title.propTypes = {
children: PropTypes.node.isRequired,
};
export default Title;