RedCommander
RedCommander
KPCKevin Powell - Community
Created by RedCommander on 7/15/2024 in #front-end
Import types from seperate file without typescript generation export
So I am working on a project and want to import my types from a seperate file, but if I do that, typescript will generate this at the bottom of my js file. export {}; Is there any way to circumvent that without defining the types in the same file?
11 replies
KPCKevin Powell - Community
Created by RedCommander on 7/11/2024 in #front-end
Inline style attribute nesting
Is it possible to somehow use nesting within an inline style, to get something like this to work?
<div style="width: 50px; height: 50px; background-color: red; transition: background-color 500ms; &:hover {background-color: blue;}"></div>
<div style="width: 50px; height: 50px; background-color: red; transition: background-color 500ms; &:hover {background-color: blue;}"></div>
3 replies
KPCKevin Powell - Community
Created by RedCommander on 10/18/2022 in #front-end
Have a Button and a Link have the same size
8 replies