components#BulletPointX TypeScript Examples

The following examples show how to use components#BulletPointX. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Anonymous.tsx    From mobile with Apache License 2.0 5 votes vote down vote up
Anonymous = (props: Pick<ItemViewProps, 'isActive'>) => {
  const i18n = useI18n();

  return (
    <ItemView
      {...props}
      image={require('assets/onboarding/info-security.png')}
      altText={i18n.translate('Onboarding.Anonymous.ImageAltText')}
      header={i18n.translate('Onboarding.Anonymous.Title')}
      item="step-2"
    >
      <>
        <Box marginRight="s">
          <Box flexDirection="row" marginBottom="m">
            <Markdown
              style={{
                body: styles.bodyContent,
              }}
            >
              {i18n.translate('Onboarding.Anonymous.Body1')}
            </Markdown>
          </Box>
          <Box flexDirection="row" marginBottom="s">
            <Markdown
              style={{
                body: styles.bodyContent,
              }}
            >
              {i18n.translate('Onboarding.Anonymous.Body2')}
            </Markdown>
          </Box>

          <BulletPointX listAccessibile="listStart" text={i18n.translate('Onboarding.Anonymous.Bullet1')} />
          <BulletPointX listAccessibile="item" text={i18n.translate('Onboarding.Anonymous.Bullet2')} />
          <BulletPointX listAccessibile="item" text={i18n.translate('Onboarding.Anonymous.Bullet3')} />
          <BulletPointX listAccessibile="item" text={i18n.translate('Onboarding.Anonymous.Bullet4')} />
          <BulletPointX listAccessibile="listEnd" text={i18n.translate('Onboarding.Anonymous.Bullet5')} />
        </Box>
      </>
    </ItemView>
  );
}