-
Notifications
You must be signed in to change notification settings - Fork 645
Closed
Labels
Description
Description
In the docs for the Box component, the examples all use props that no longer appear to be available for this component.
For example, my team recently tried to use the gridGap prop as documented here, which resulted in the following linter failure: https://janky.githubapp.com/80188803/output.
Steps to reproduce
- In a codebase with Primer React important, attempt to use any of the Box component code examples as currently documented. For example:
<Box display="grid" gridTemplateColumns="1fr 1fr" gridGap={3}> <Box p={3} borderColor="border.default" borderWidth={1} borderStyle="solid"> 1 </Box> <Box p={3} borderColor="border.default" borderWidth={1} borderStyle="solid"> 2 </Box> <Box p={3} borderColor="border.default" borderWidth={1} borderStyle="solid"> 3 </Box> </Box>
- Observe
primer-react/no-system-propserror(s)
Version
35.18.0
Browser
Chrome, Safari, Firefox