feat: add active/disabled fields table to New Field - Step 1 page (#2069)

Closes #1785
This commit is contained in:
Thaïs
2023-10-16 18:16:25 +02:00
committed by GitHub
parent 3dae11b6e4
commit 8a64903933
5 changed files with 87 additions and 16 deletions

View File

@ -104,7 +104,7 @@ export const LightIconButton = ({
size={size}
active={active}
>
{Icon && <Icon size={theme.icon.size.md} />}
{Icon && <Icon size={theme.icon.size.md} stroke={theme.icon.stroke.sm} />}
</StyledButton>
);
};

View File

@ -3,6 +3,7 @@ import styled from '@emotion/styled';
type SectionProps = {
children: ReactNode;
className?: string;
alignment?: SectionAlignment;
fullWidth?: boolean;
fontColor?: SectionFontColor;
@ -31,11 +32,13 @@ const StyledSection = styled.div<{
export const Section = ({
children,
className,
alignment = SectionAlignment.Left,
fullWidth = true,
fontColor = SectionFontColor.Primary,
}: SectionProps) => (
<StyledSection
className={className}
alignment={alignment}
fullWidth={fullWidth}
fontColor={fontColor}