SHARE
TWEET

Untitled

a guest Jun 19th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from 'react';
  2. import { decl } from 'bem-react-core';
  3.  
  4. export default decl({
  5.   block: 'ButtonGroup',
  6.   elem: 'Button',
  7.   mods({selected}){
  8.     return{selected}
  9.   },
  10.   content(props, children) {
  11.     return [
  12.       children
  13.     ]
  14.   }
  15. });
RAW Paste Data
Top