Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wip: stories
  • Loading branch information
rodrimaia committed Apr 24, 2023
commit fba262c58a7ebc5bdb33db86831a5b51c93ef2e5
Original file line number Diff line number Diff line change
Expand Up @@ -121,21 +121,4 @@ const useStyles = makeStyles((theme) => ({
main: {
paddingTop: theme.spacing(5),
},
ctaButton: {
backgroundImage: `linear-gradient(90deg, ${theme.palette.secondary.main} 0%, ${theme.palette.secondary.dark} 100%)`,
width: theme.spacing(30),
marginBottom: theme.spacing(4),
},
formSectionRoot: {
alignItems: "center",
},
description: {
color: theme.palette.text.secondary,
lineHeight: "160%",
},
title: {
...theme.typography.h5,
fontWeight: 600,
marging: theme.spacing(1),
},
}))
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ export default {
const licensesTest: GetLicensesResponse[] = [
{
id: 1,
uploaded_at: "1682346425",
expires_at: "1682346425",
uuid: "1",
claims: {
trial: false,
all_features: true,
Expand All @@ -19,12 +22,21 @@ const licensesTest: GetLicensesResponse[] = [
},
]

const defaultArgs = {
showConfetti: false,
isLoading: false,
userLimitActual: 1,
userLimitLimit: 10,
licenses: licensesTest,
}

export const Default = {
args: defaultArgs,
}

export const Empty = {
args: {
showConfetti: false,
isLoading: false,
userLimitActual: 1,
userLimitLimit: 10,
licenses: licensesTest,
...defaultArgs,
licenses: [],
},
}
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ const useStyles = makeStyles((theme) => ({
backgroundImage: `linear-gradient(90deg, ${theme.palette.secondary.main} 0%, ${theme.palette.secondary.dark} 100%)`,
width: theme.spacing(30),
marginBottom: theme.spacing(4),
},
removeButtom: {
color: "red",
marginTop: theme.spacing(4),
},
}))

Expand Down