Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add card header variants #34

Merged
merged 1 commit into from
Mar 29, 2021
Merged

Conversation

RabbitDoge
Copy link
Contributor

[ ] Before opening a pull request, please read the contributing guidelines first
[ ] If your PR is work in progress, open it as draft
[ ] Before requesting a review, all the checks need to pass
[ ] Explain what your PR does

@RabbitDoge RabbitDoge requested a review from hachiojidev as a code owner March 29, 2021 06:27
@@ -1,11 +1,12 @@
import styled from "styled-components";
import { space, SpaceProps } from "styled-system";

export type CardHeaderProps = SpaceProps;
export interface CardHeaderProps extends SpaceProps {
variant?: "default" | "blue" | "violet";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to type these with keyof theme["cardHeaderBackground"]

@RabbitDoge RabbitDoge force-pushed the add-cardheader-variants branch from 9a3f5d6 to 13a7532 Compare March 29, 2021 06:53
@RabbitDoge RabbitDoge merged commit 079e3f2 into master Mar 29, 2021
@RabbitDoge RabbitDoge deleted the add-cardheader-variants branch March 29, 2021 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants