JSPM

  • Created
  • Published
  • Downloads 501
  • Score
    100M100P100Q108021F
  • License MIT

In house component library for SurveySparrow

Package Exports

  • @sparrowengg/twigs-react
  • @sparrowengg/twigs-react/dist/cjs/index.js
  • @sparrowengg/twigs-react/dist/es/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sparrowengg/twigs-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Welcome to twigs ⚡️

In house component library for SurveySparrow.

Features

  1. Themeable
  2. Customisable
  3. Fully accessible

Installation

npm i @sparrowengg/twigs-react;

yarn add @sparrowengg/twigs-react;

Usage

import { Box, Avatar, AvatarImage, AvatarFallback } from '@sparrowengg/twigs-react';

<Box css={{ display: 'flex', alignItems: 'center', justifyContent: 'flex-end' }}>
  <Avatar size="lg">
     <AvatarImage
       src="https://images.unsplash.com/photo-1511485977113-f34c92461ad9?ixlib=rb-1.2.1&w=128&h=128&dpr=2&q=80"
       alt="John Doe"
      />
     <AvatarFallback delayMs={600}>JD</AvatarFallback>
   </Avatar>
</Box>