mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
1a1ca3e91d
no issue - added `name` prop to `<Toggle>` component that corresponds to the checkbox's `name` attribute - updated `<FeatureToggle>` to set the `name` prop on it's `<Toggle>` component to the feature flag that was passed in so all feature toggles get a useful name attribute without having to manually specify one |
||
---|---|---|
.. | ||
.storybook | ||
src | ||
test | ||
.eslintrc.cjs | ||
.gitignore | ||
package.json | ||
postcss.config.cjs | ||
preflight.css | ||
README.md | ||
styles.css | ||
tailwind.cjs | ||
tailwind.config.cjs | ||
tsconfig.declaration.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
Admin X Design
Components, design guidelines and documentation for building apps in Ghost Admin
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests