日記2022-07-06
水都百景録
https://gyazo.com/2905bf6f29305f2a101bba4a1aa97559
code::
Over 200 classes were generated for component styled.div with the id of "sc-gKXOVf".
Consider using the attrs method, together with a style object for frequently changed styles.
Example:
const Component = styled.div.attrs(props => ({
style: {
background: props.background,
},
}))width: 100%;