Skip to content

Commit

Permalink
chore(styles): update Bootstrap imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Valik3201 committed Jan 23, 2024
1 parent 86d05b7 commit b228177
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
5 changes: 1 addition & 4 deletions src/components/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ import { ContactList } from './ContactList';
import { Filter } from './Filter';

import 'bootstrap/dist/css/bootstrap.min.css';

import Container from 'react-bootstrap/Container';
import Col from 'react-bootstrap/Col';
import Row from 'react-bootstrap/Row';
import { Container, Row, Col } from 'react-bootstrap';

/**
* Main application component representing the Phonebook.
Expand Down
8 changes: 2 additions & 6 deletions src/components/ContactForm.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import { Component } from 'react';
import PropTypes from 'prop-types';
import { nanoid } from 'nanoid';
import PropTypes from 'prop-types';

import Button from 'react-bootstrap/Button';
import Col from 'react-bootstrap/Col';
import Row from 'react-bootstrap/Row';
import Form from 'react-bootstrap/Form';
import FloatingLabel from 'react-bootstrap/FloatingLabel';
import { Form, Row, Col, Button, FloatingLabel } from 'react-bootstrap';

/**
* ContactForm component for adding new contacts.
Expand Down

0 comments on commit b228177

Please sign in to comment.