fix: Reduce loading jank on recent searches screen

This commit is contained in:
Tom Moor
2021-12-19 13:07:22 -08:00
parent 5507295a36
commit 73bc7d9f2a
4 changed files with 19 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
import styled from "styled-components";
const Button = styled.button.attrs((type) => ({ type: type || "button" }))<{
const Button = styled.button.attrs((props) => ({
type: props.type || "button",
}))<{
width?: number;
height?: number;
size?: number;