diff --git a/packages/components/divider/src/divider.ts b/packages/components/divider/src/divider.ts index 97002bfe..58f98fae 100644 --- a/packages/components/divider/src/divider.ts +++ b/packages/components/divider/src/divider.ts @@ -2,13 +2,7 @@ import { buildProps } from '@puik/utils' import type { ExtractPropTypes } from 'vue' import type Divider from './divider.vue' -export const dividerProps = buildProps({ - id: { - type: String, - required: false, - default: undefined, - }, -} as const) +export const dividerProps = buildProps({} as const) export type DividerProps = ExtractPropTypes diff --git a/packages/components/divider/src/divider.vue b/packages/components/divider/src/divider.vue index a24e87e0..19e8d6f9 100644 --- a/packages/components/divider/src/divider.vue +++ b/packages/components/divider/src/divider.vue @@ -1,5 +1,5 @@ diff --git a/packages/components/divider/test/divider.spec.ts b/packages/components/divider/test/divider.spec.ts index 8e863595..657d9f64 100644 --- a/packages/components/divider/test/divider.spec.ts +++ b/packages/components/divider/test/divider.spec.ts @@ -21,9 +21,4 @@ describe('Divider tests', () => { factory() expect(wrapper).toBeTruthy() }) - - it('as id prop value is "puik-chip-example", id html attribute of puik-chip should be "puik-chip-example"', () => { - factory({ id: 'puik-divider-id' }) - expect(findDivider().attributes().id).toBe('puik-divider-id') - }) })