storybook/docs/_snippets/component-styled-variables-object-notation.md
2024-11-17 16:46:37 +00:00

171 B

const Component = styled.div(({ theme }) => ({
  background: theme.background.app,
  width: 0,
}));