trigger
๐ฏ Popup trigger and alignment primitive for React.
ํ์ผ ํ์๊ธฐ
์ต์ข ๋ฒ์ ๋ค์ด๋ก๋ (.zip)- codeql.yml
- deploy-pages.yml
- react-component-ci.yml
- react-doctor.yml
- surge-preview.yml
- dependabot.yml
- FUNDING.yml
- pre-commit
- Mask.less
- Mobile.less
- index.less
- body-overflow.md
- case.md
- click-nested.md
- clip.md
- container.md
- disabled.md
- inside.md
- large-popup.md
- mobile.md
- nested.md
- point.md
- portal.md
- shadow.md
- simple.md
- static-scroll.md
- two-buttons.md
- visible-fallback.md
- body-overflow.tsx
- case.less
- case.tsx
- click-nested.tsx
- clip.tsx
- container.tsx
- disabled.tsx
- inside.tsx
- large-popup.tsx
- mobile.tsx
- nested.tsx
- point.less
- point.tsx
- portal.tsx
- shadow.tsx
- simple.tsx
- static-scroll.tsx
- two-buttons.tsx
- visible-fallback.tsx
- index.md
- useAction.ts
- useAlign.ts
- useDelay.ts
- useOffsetStyle.ts
- useWatch.ts
- useWinClick.ts
- Arrow.tsx
- index.tsx
- Mask.tsx
- PopupContent.tsx
- index.tsx
- UniqueContainer.tsx
- useTargetState.ts
- context.ts
- index.tsx
- interface.ts
- mock.tsx
- util.ts
- align.test.tsx
- arrow.test.jsx
- basic.test.jsx
- flip-visibleFirst.test.tsx
- flip.test.tsx
- flipShift.test.tsx
- mask.test.jsx
- mobile.test.tsx
- motion.test.jsx
- open-change.test.tsx
- perf.test.tsx
- point.test.jsx
- portal.test.jsx
- rect.test.tsx
- ref.test.tsx
- setup.js
- shadow.test.tsx
- unique.test.tsx
- util.tsx
- .dumirc.ts
- .editorconfig
- .fatherrc.js
- .fatherrc.ts
- .gitignore
- .prettierignore
- .prettierrc
- eslint.config.mjs
- global.d.ts
- HISTORY.md
- index.js
- jest.config.js
- LICENSE
- package.json
- README.md
- README.zh-CN.md
- tsconfig.json
- vercel.json
# ์ค์น ๊ฐ์ด๋
1. ์ฝ๋ ๋ด๋ ค๋ฐ๊ธฐ
git clone https://github.com/react-component/trigger
๊นํ๋ธ์์ ํ๋ก์ ํธ ์ฝ๋ ์ ์ฒด๋ฅผ ๋ด ์ปดํจํฐ๋ก ๋ด๋ ค๋ฐ์ต๋๋ค.
cd trigger
๋ฐฉ๊ธ ๋ด๋ ค๋ฐ์ ํ๋ก์ ํธ ํด๋ ์์ผ๋ก ์ด๋ํฉ๋๋ค.
2. Node.js
์ฌ์ ์ถ์ฒ์ฌ์ ์ค๋น๋ฌผ
npm install @rc-component/trigger
package.json์ ๋ช ์๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ค์ ๋ด๋ ค๋ฐ์ ์ค์นํฉ๋๋ค.
npm install
package.json์ ๋ช ์๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ค์ ๋ด๋ ค๋ฐ์ ์ค์นํฉ๋๋ค.
npm start
๊ฐ๋ฐ/์คํ ์๋ฒ๋ฅผ ์ผญ๋๋ค.
npm test
์ด ๋ช ๋ น์ด๋ฅผ ํฐ๋ฏธ๋์ ๊ทธ๋๋ก ์ ๋ ฅํด ์คํํ์ธ์.
npm run build
๋ฐฐํฌ์ฉ์ผ๋ก ์ฝ๋๋ฅผ ์ต์ ํํด์ ๋น๋ ํ์ผ์ ์์ฑํฉ๋๋ค.
๋ช
๋ น์ด ์คํ ํ ํฐ๋ฏธ๋์ ๋ํ๋๋ ์ฃผ์(๋ณดํต http://localhost:3000 ํํ)๋ฅผ ๋ธ๋ผ์ฐ์ ์์ ์ด์ด๋ณด์ธ์.
์ด ๋ ํฌ์ README์ ์ ํ ์ค์ ๋ช ๋ น์ด๋ฅผ ๊ทธ๋๋ก ๊ฐ์ ธ์์ต๋๋ค.
// repository documentation
Was this content helpful?
(0 ratings)
