Sha256: 68f05712391016fadef5a550b938cbf6cd097567225e884b682964c6b3bd1332

Contents?: true

Size: 243 Bytes

Versions: 2

Compression:

Stored size: 243 Bytes

Contents

import Resolver from './resolver';

import camelize from '../utils/camelize';

export default class extends Resolver {
  get(props, seed) {
    return {
      name: props.type,
      ...camelize.deep(seed.page_types[props.type])
    };
  }
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pageflow-react-0.1.1 js/src/resolvers/page_type_resolver.js
pageflow-react-0.1.0 js/src/resolvers/page_type_resolver.js