chore: Port FreeSewing.dev to docusaurus
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus setup. It's part of my efforts to simplify FreeSewing's setup so we can focus on our core value proposition.
This commit is contained in:
parent
497633d1d3
commit
ab3204f9f1
692 changed files with 11037 additions and 20674 deletions
|
@ -0,0 +1,38 @@
|
|||
---
|
||||
title: react-components
|
||||
---
|
||||
|
||||
Published as [@freesewing/react-components][1], this package provides
|
||||
various React components to render FreeSewing patterns, as well as
|
||||
some utilities to facilitate frontend integration.
|
||||
|
||||
## Exports
|
||||
|
||||
FreeSewing uses named exports, and below is a list of all exports:
|
||||
|
||||
- `Pattern`: Renders a FreeSewing pattern
|
||||
- `Svg`: Renders the svg section of a FreeSewing pattern
|
||||
- `Defs`: Renders the defs of a FreeSewing pattern
|
||||
- `Group`: Renders an SVG group of a FreeSewing pattern
|
||||
- `Stack`: Renders a stack of a FreeSewing pattern
|
||||
- `Part`: Renders a part of a FreeSewing pattern
|
||||
- `Point`: Renders a point of a FreeSewing pattern
|
||||
- `Path`: Renders a path of a FreeSewing pattern
|
||||
- `Snippet`: Renders a snippet of a FreeSewing pattern
|
||||
- `Grid`: Renders the grid of a FreeSewing pattern
|
||||
- `Text`: Renders text of a FreeSewing pattern
|
||||
- `TextOnPath`: Renders text on path of a FreeSewing pattern
|
||||
- `PatternXray`: Renders the Xray/inspector variant of a FreeSewing pattern
|
||||
- `utils`: A plain object holding the following utilities:
|
||||
- `getProps`
|
||||
- `withinPartBounds`
|
||||
- `getId`
|
||||
- `translateStrings`
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
npm install @freesewing/react-components
|
||||
```
|
||||
|
||||
[1]: https://www.npmjs.com/package/@freesewing/react-components
|
Loading…
Add table
Add a link
Reference in a new issue