daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 42 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. import Dialog from 'b:Dialog';
  5. import Header from 'b:Dialog e:Header';
  6. import Body from 'b:Dialog e:Body';
  7. import Footer from 'b:Dialog e:Footer';
  8.  
  9. import Button from 'b:Button';
  10. import ButtonGroup from 'b:ButtonGroup';
  11. import ButtonGroupButton from 'b:ButtonGroup e:Button m:type=selected';
  12.  
  13. export default decl({
  14.   block: 'DialogLogin',
  15.   content(props) {
  16.     return (
  17.       <Dialog>
  18.         <Header>
  19.           <ButtonGroup>
  20.             <ButtonGroupButton type="selected">
  21.               <Button>Some Button 1</Button>
  22.             </ButtonGroupButton>
  23.             <ButtonGroupButton>
  24.               <Button>Some Button 2</Button>
  25.             </ButtonGroupButton>
  26.           </ButtonGroup>
  27.         </Header>
  28.         <Body>Body</Body>
  29.         <Footer>Footer</Footer>
  30.       </Dialog>
  31.     )
  32.   },
  33. });
RAW Paste Data
Top