danieldelcore / danieldelcore/trousers

Dynamic expressions that return different values are hashed the same way

Open
#79 0 comments 0 reactions 0 assignees View on GitHub
🐛 bug
Dominant language
TypeScript
Stars
299
Forks
4
PR merge metrics
No merged PRs in 30d

Description

```
function getGap({ space }: Theme) {
const column = columnGap ? space[columnGap] : space[gap];
const row = rowGap ? space[rowGap] : space[gap];

return `${row} ${column}`;
}

return (

`
display: grid;
grid-template-columns: repeat(${columns}, 1fr);
gap: ${getGap};
width: 100%;
`}
>
{children}

);
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.