0.0.1-alpha.2 • Published 5 years ago

@financial-times/x-audio v0.0.1-alpha.2

Weekly downloads
459
License
ISC
Repository
github
Last release
5 years ago

x-audio

This module has these features and scope.

Requirements

Origami components:

  • o-loading
  • o-typography

Installation

This module is compatible with Node 6+ and is distributed on npm.

npm install --save @financial-times/x-audio

The x-engine module is used to inject your chosen runtime into the component. Please read the x-engine documentation first if you are consuming x- components for the first time in your application.

Usage

The components provided by this module are all functions that expect a map of properties. They can be used with vanilla JavaScript or JSX (If you are not familiar check out WTF is JSX first). For example if you were writing your application using React you could use the component like this:

import React from 'react';
import { Audio } from '@financial-times/x-audio';

// A == B == C
const a = Audio(props);
const b = <Audio {...props} />;
const c = React.createElement(Audio, props);
// within your app's sass file
@import "x-audio/dist/Audio";

All x- components are designed to be compatible with a variety of runtimes, not just React. Check out the x-engine documentation for a list of recommended libraries and frameworks.

Properties

FeatureTypeNotes
propertyName1String
propertyName2String
propertyName2String
0.0.1-alpha.23

5 years ago

0.0.1-alpha.22

5 years ago

0.0.1-alpha.20

5 years ago

0.0.1-alpha.19

5 years ago

0.0.1-alpha.18

5 years ago

0.0.1-alpha.16

5 years ago

0.0.1-alpha.15

5 years ago

0.0.1-alpha.14

5 years ago

0.0.1-alpha.13

5 years ago

0.0.1-alpha.12

5 years ago

0.0.1-alpha.11

5 years ago

0.0.1-alpha.10

5 years ago

0.0.1-alpha.9

5 years ago

0.0.1-alpha.8

5 years ago

0.0.1-alpha.7

5 years ago

0.0.1-alpha.5

5 years ago

0.0.1-alpha.4

5 years ago

0.0.1-alpha.3

5 years ago

0.0.1-alpha.2

5 years ago