Skip to content

Using as="h1" results in ignored fontSize #109

Description

@kyranjamie
const StackingTitle: FC = ({ children }) => (
  <Text as="h1" display="block" textStyle="display.large" fontSize="40px">
    {children}
  </Text>
);

In this example component fontSize is ignored, owing to the defaults set implicitly for a h1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions