설명 없음
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

layoutform.js 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. import Tab from 'react-bootstrap/Tab';
  2. import Tabs from 'react-bootstrap/Tabs';
  3. import SigninForm from '../SigninForm';
  4. import React from 'react';
  5. function Layoutform({ doughnutData }) {
  6. const [key, setKey] = React.useState('consumer');
  7. return (
  8. <React.Fragment>
  9. <Tabs
  10. defaultActiveKey="profile"
  11. id="justify-tab-example"
  12. className="mb-3 biz-tab-main"
  13. onSelect={(k) => setKey(k)}
  14. value={key}
  15. >
  16. <Tab className='border-bottom biz-tab-item selectedtab-biz' eventKey="consumer" title={ <div>
  17. <div>
  18. <i className="px-2 fa-solid fa-user"></i>
  19. </div>
  20. <div>
  21. Consumer
  22. </div>
  23. </div>
  24. }>
  25. <SigninForm />
  26. </Tab>
  27. <Tab className='border-bottom biz-tab-item' eventKey="employee" title={ <div>
  28. <div>
  29. <i className="px-2 fa-solid fa-user"></i>
  30. </div>
  31. <div>
  32. Employee
  33. </div>
  34. </div>
  35. } >
  36. <SigninForm />
  37. </Tab>
  38. <Tab className='border-bottom biz-tab-item' eventKey="plumber" title={ <div>
  39. <div>
  40. <i className="px-2 fa-solid fa-gear"></i>
  41. </div>
  42. <div>
  43. Plumber
  44. </div>
  45. </div>
  46. }>
  47. <SigninForm />
  48. </Tab>
  49. </Tabs>
  50. </React.Fragment>
  51. );
  52. }
  53. export default Layoutform;