Objects Settings - Add the "New object" button (#1928)
* Objects Settings - Add the "New object" button * addressing review comments
This commit is contained in:
@ -3,6 +3,7 @@ import styled from '@emotion/styled';
|
||||
type H1TitleProps = {
|
||||
title: string;
|
||||
fontColor?: H1TitleFontColor;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
export enum H1TitleFontColor {
|
||||
@ -25,4 +26,11 @@ const StyledTitle = styled.h2<{
|
||||
export const H1Title = ({
|
||||
title,
|
||||
fontColor = H1TitleFontColor.Tertiary,
|
||||
}: H1TitleProps) => <StyledTitle fontColor={fontColor}>{title}</StyledTitle>;
|
||||
className,
|
||||
}: H1TitleProps) => {
|
||||
return (
|
||||
<StyledTitle fontColor={fontColor} className={className}>
|
||||
{title}
|
||||
</StyledTitle>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user