Skip to content

PCGL common react components v0

Choose a tag to compare

@josepplloo josepplloo released this 16 Oct 14:13
· 28 commits to main since this release

Changelog:

  • Initial library setup:
apps/
└── docs/              <-- Demo app for development, testing and documentation.
packages/
├── eslint-config/     <-- Shared eslint config.
├── typescript-config/ <-- Shared typescript config.
├── vitest-config/     <-- Shared vitest config.
└── ui/                <-- Root folder for all the components.
    ├── src/footer     <-- Example of a component.
    └── ...   

initial package: @repo/ui/footer
e.g how to use it

import { FooterContainer } from '@repo/ui/footer';
 
 ...
 
export const Footer = () => {
  const t = useTranslationFn();
  return <FooterContainer translator={t} ContextualBand={<ContextualBand />} PortalBand={<BentoBand />} />;
};

export default Footer;