šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

essence-bottomsheet

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

essence-bottomsheet

Essence BottomSheet - BottomSheet component

1.0.7
latest
Source
npm
Version published
Maintainers
3
Created
Source

Essence BottomSheet - BottomSheet component

Options:

  • visible: true - show the bottom sheet & false (default) - hide the bottom sheet
  • onStart: callback function when the BottomSheet has toggled visible to true
  • onEnd: callback function when the BottomSheet has toggled visible to false

How to use

Bottom sheets simple

import BottomSheets from 'essence-bottomsheet';

<BottomSheets className={'e-background-white'} visible={true}>
 <Block >
  <List type={'navigation'}>
   <ListItem>
    <Text type={'a'} href={'#item 1'}>
     <Icon name={'social-share'} />
     Share
    </Text>
   </ListItem>
   <ListItem>
    <Text type={'a'} href={'#item 2'}>
     <Icon name={'file-file-upload'} />
     Upload
    </Text>
   </ListItem>
   <ListItem>
    <Text type={'a'} href={'#item 3'}>
     <Icon name={'content-content-copy'} />
     Copy
    </Text>
   </ListItem>
   <ListItem>
    <Text type={'a'} href={'#item 4'}>
     <Icon name={'action-print'} />
     Print this page
    </Text>
   </ListItem>
  </List>
 </Block>
</BottomSheets>

Bottom sheets big icons

import BottomSheets from 'essence-bottomsheet';

<BottomSheets classes={'e-background-white big-icons'} visible={true}>
 <Block>
  <List type={'navigation'}>
   <ListItem>
    <Text type={'a'} href={'#item 1'}>
     <Icon name={'social-share'} />
     Share
    </Text>
   </ListItem>
   <ListItem>
    <Text type={'a'} href={'#item 2'}>
     <Icon name={'file-file-upload'} />
     Upload
    </Text>
   </ListItem>
   <ListItem>
    <Text type={'a'} href={'#item 3'}>
     <Icon name={'content-content-copy'} />
     Copy
    </Text>
   </ListItem>
   <ListItem>
    <Text type={'a'} href={'#item 4'}>
     <Icon name={'action-print'} />
     Print 
    </Text>
   </ListItem>
   <ListItem>
    <Text type={'a'} href={'#item 5'}>
     <Icon name={'communication-email'} />
     Mail
    </Text>
   </ListItem>
   <ListItem>
    <Text type={'a'} href={'#item 6'}>
     <Icon name={'communication-message'} />
     Message
    </Text>
   </ListItem>
   <ListItem>
    <Text type={'a'} href={'#item 7'}>
     <Icon name={'av-loop'} />
     Loop 
    </Text>
   </ListItem>
  </List>
 </Block>
</BottomSheets>

Keywords

color palette

FAQs

Package last updated on 07 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts