Skip to content

Commit

Permalink
Removed the style interface
Browse files Browse the repository at this point in the history
  • Loading branch information
vivchong committed Aug 25, 2023
1 parent 079bf1c commit ddc5db7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/form/form-label.style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,12 @@ import styled from "styled-components";
import { Color } from "../color";
import { Text, TextStyleHelper } from "../text";

// =============================================================================
// STYLE INTERFACE
// =============================================================================
interface LabelProps {
disabled?: boolean;
}

// =============================================================================
// STYLING
// =============================================================================
export const Label = styled.label<LabelProps>`
export const Label = styled.label`
${TextStyleHelper.getTextStyle("H5", "semibold")}
color: ${Color.Neutral[3]};
margin-bottom: 0.5rem;
display: inline-block;
Expand Down

0 comments on commit ddc5db7

Please sign in to comment.