Skip to content

Commit

Permalink
file names updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetemrekilinc committed Oct 31, 2023
1 parent ec7be53 commit 9214f13
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/components/components/ComponentAutocomplete.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ const ComponentAutocomplete = () => {
currentJsx = "import { Autocomplete } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="Autocomplete" codeUrl={'components/components/ComponentAutocomplete.js'}>
<ExampleUsageWrapper header="Autocomplete" codeUrl={'components/components/ComponentAutocomplete.jsx'}>
{autocompleteElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const ComponentButton = () => {
currentJsx = "import { Button } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="Button" codeUrl={'components/components/ComponentButton.js'}>
<ExampleUsageWrapper header="Button" codeUrl={'components/components/ComponentButton.jsx'}>
{buttonElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentCheckList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const ComponentCheckList = () => {
currentJsx = "import { CheckList } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="CheckList" codeUrl={'components/components/ComponentCheckList.js'}>
<ExampleUsageWrapper header="CheckList" codeUrl={'components/components/ComponentCheckList.jsx'}>
{checkListElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentCheckbox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const ComponentCheckbox = () => {
currentJsx = "import { Checkbox } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="Checkbox" codeUrl={'components/components/ComponentCheckbox.js'}>
<ExampleUsageWrapper header="Checkbox" codeUrl={'components/components/ComponentCheckbox.jsx'}>
{checkboxElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentDatePicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const ComponentDatePicker = () => {
currentJsx = "import { DatePicker } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="DatePicker" codeUrl={'components/components/ComponentDatePicker.js'}>
<ExampleUsageWrapper header="DatePicker" codeUrl={'components/components/ComponentDatePicker.jsx'}>
{datePickerElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentIconButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const ComponentIconButton = () => {
currentJsx = currentJsx.replace('<[object Object] />', '<SendOutlined />');

return (
<ExampleUsageWrapper header="IconButton" codeUrl={'components/components/ComponentIconButton.js'}>
<ExampleUsageWrapper header="IconButton" codeUrl={'components/components/ComponentIconButton.jsx'}>
{iconButtonElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentMaskField.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const ComponentMaskField = () => {
currentJsx = "import { MaskField } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="MaskField" codeUrl={'components/components/ComponentMaskField.js'}>
<ExampleUsageWrapper header="MaskField" codeUrl={'components/components/ComponentMaskField.jsx'}>
{maskFieldElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentMenuButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const ComponentMenuButton = () => {
currentJsx = currentJsx.replace('<[object Object] />', '<FilterList />');

return (
<ExampleUsageWrapper header="MenuButton" codeUrl={'components/components/ComponentMenuButton.js'}>
<ExampleUsageWrapper header="MenuButton" codeUrl={'components/components/ComponentMenuButton.jsx'}>
{menuButtonElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentNumberField.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const ComponentNumberField = () => {
currentJsx = "import { NumberField } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="NumberField" codeUrl={'components/components/ComponentNumberField.js'}>
<ExampleUsageWrapper header="NumberField" codeUrl={'components/components/ComponentNumberField.jsx'}>
{numberFieldElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentPhoneInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const ComponentPhoneInput = () => {
currentJsx = "import { PhoneInput } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="PhoneInput" codeUrl={'components/components/ComponentPhoneInput.js'}>
<ExampleUsageWrapper header="PhoneInput" codeUrl={'components/components/ComponentPhoneInput.jsx'}>
{phoneInputElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentRadioButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const ComponentRadioButton = () => {
currentJsx = "import { RadioButton } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="RadioButton" codeUrl={'components/components/ComponentRadioButton.js'}>
<ExampleUsageWrapper header="RadioButton" codeUrl={'components/components/ComponentRadioButton.jsx'}>
{radioButtonElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentSwitch.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const ComponentSwitch = () => {
currentJsx = "import { Switch } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="Switch" codeUrl={'components/components/ComponentSwitch.js'}>
<ExampleUsageWrapper header="Switch" codeUrl={'components/components/ComponentSwitch.jsx'}>
{switchElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ const ComponentDataGrid = () => {
currentJsx = "import { DataGrid } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="DataGrid" codeUrl={'components/components/ComponentDataGrid.js'}>
<ExampleUsageWrapper header="DataGrid" codeUrl={'components/components/ComponentDataGrid.jsx'}>
{tableElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentTextField.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const ComponentTextField = () => {
currentJsx = "import { TextField } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="TextField" codeUrl={'components/components/ComponentTextField.js'}>
<ExampleUsageWrapper header="TextField" codeUrl={'components/components/ComponentTextField.jsx'}>
{buttonElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentTimePicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const ComponentTimePicker = () => {
currentJsx = "import { TimePicker } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="TimePicker" codeUrl={'components/components/ComponentTimePicker.js'}>
<ExampleUsageWrapper header="TimePicker" codeUrl={'components/components/ComponentTimePicker.jsx'}>
{timePickerElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/components/ComponentTransferList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const ComponentTransferList = () => {
currentJsx = "import { TransferList } from 'comfort-react';\n\n" + currentJsx;

return (
<ExampleUsageWrapper header="TransferList" codeUrl={'components/components/ComponentTransferList.js'}>
<ExampleUsageWrapper header="TransferList" codeUrl={'components/components/ComponentTransferList.jsx'}>
{transferListElementJsx}
<Grid container spacing={2} marginTop={2}>
<Grid item xs={12} sm={6}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/use-api/UseApi.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const UseApi = () => {
bodyStr = bodyStr.replaceAll(':', ': ');

return (
<ExampleUsageWrapper header="useApi" codeUrl={['components/use-api/UseApi.js', 'components/Main.js']}>
<ExampleUsageWrapper header="useApi" codeUrl={['components/use-api/UseApi.jsx', 'components/Main.jsx']}>
<Grid container spacing={2}>
<Grid item xs={12} sm={6}>
<Checkbox
Expand Down
2 changes: 1 addition & 1 deletion src/components/use-snackbar/UseSnackbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const UseSnackbar = () => {
return (
<ExampleUsageWrapper
header="useSnackbar"
codeUrl={['components/use-snackbar/UseSnackbar.js', 'components/Main.js']}
codeUrl={['components/use-snackbar/UseSnackbar.jsx', 'components/Main.jsx']}
>
<Stack spacing={2} direction={isMobile ? 'column' : 'row'}>
{variantList.map((variant) => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/validatable-form/CustomTranslations.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const CustomTranslations = () => {
return (
<ExampleUsageWrapper
header="translations"
codeUrl={['components/validatable-form/CustomTranslations.js', 'components/Main.js']}
codeUrl={['components/validatable-form/CustomTranslations.jsx', 'components/Main.jsx']}
>
<p className="infoParagraph">
Validation error messages of any rules can be customized in app by passing <b>translations</b> inside of
Expand Down

0 comments on commit 9214f13

Please sign in to comment.