storybook/docs/_snippets/component-styled-variables-object-notation.md
2024-06-13 17:53:08 +01:00

172 B

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