diff --git a/README.md b/README.md
index 2586517..d58e69f 100644
--- a/README.md
+++ b/README.md
@@ -288,17 +288,9 @@ this list may be outdated so i suggest you to read [jb-date-input](https://githu
## add custom element in input box
in jb-input you can put icon or any other custom html DOM in input box. to doing so you just have to place custom element in `JBDateInput` tag and add `slot="start-section"` or `slot="end-section"` to place it before or after input field.
-for better result i suggest you use `jb-date-input-inbox-element` tag but its optional and you can use your own custom tag too.
-`jb-date-input-inbox-element` will add some style to make sure your icon will place in center and will not overflow nad make your job easier if you want more controll you can skip it and use your own tag.
-example:
-
```jsx
-
- after
-
-
- before
-
+ after
+ before
```
\ No newline at end of file
diff --git a/docs/src/components/samples/Samples.tsx b/docs/src/components/samples/Samples.tsx
index 9bac470..856f674 100644
--- a/docs/src/components/samples/Samples.tsx
+++ b/docs/src/components/samples/Samples.tsx
@@ -62,12 +62,8 @@ function Samples() {
-
- a
-
-
- b
-
+ a
+ b
{ }
diff --git a/lib/JBDateInput.tsx b/lib/JBDateInput.tsx
index 999a5a8..14a0c45 100644
--- a/lib/JBDateInput.tsx
+++ b/lib/JBDateInput.tsx
@@ -6,16 +6,11 @@ import { useEvent } from '../../../common/hooks/use-event';
import { type ValidationValue } from 'jb-date-input/types';
export { JBDateInputInputTypes, JBDateInputValueObject };
-
-type CustomEvents = { [key in K]: (event: CustomEvent) => void };
-
-type CustomElement = Partial & { children: any } & CustomEvents<`on${K}`>>;
declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace JSX {
interface IntrinsicElements {
'jb-date-input': JBDateInputType;
- 'jb-date-input-inbox-element': CustomElement;
}
interface JBDateInputType extends React.DetailedHTMLProps, JBDateInputWebComponent> {
class?: string,