Skip to content

Commit

Permalink
Address PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dddlr committed Jul 17, 2024
1 parent 5a25c1d commit cdf4be7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This could be used when enabling style sheet extraction in a different configura

When set, extracts styles to an external CSS file. This is beneficial for building platform components that are to be published on NPM.

Example of useage:
Example of usage:

Given the below folder structure:

Expand Down Expand Up @@ -91,6 +91,7 @@ const Component = () =>
```

- Type: `{ source: string; dest: string }`
- Default: `undefined`

#### styleSheetPath

Expand Down
4 changes: 4 additions & 0 deletions website/packages/docs/src/pages/pkg-react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ const borderStyleMap = cssMap({
none: { borderStyle: 'none' },
solid: { borderStyle: 'solid' },
});

const Component = ({ appearance, children }) => (
<div css={borderStyleMap[props.appearance]}>{children}</div>
);
```

## Keyframes
Expand Down
1 change: 0 additions & 1 deletion website/packages/ui/src/components/anchor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export const Anchor = ({ children }: { children: string | string[] }): JSX.Eleme
const context = useContext(AnchorContext);
const ref = useRef<HTMLElement | null>(null);

console.log(children);
const id = (
typeof children === 'string'
? [children.trim().split(' ').join('-')]
Expand Down

0 comments on commit cdf4be7

Please sign in to comment.