Skip to content

Commit

Permalink
add stub. modalBody, modalHeader, modalFooter (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
noblejasper authored Jul 10, 2023
1 parent 4b92dbf commit e00dd29
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/lightning-stubs/modalBody/modalBody.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!--
Copyright (c) 2018, salesforce.com, inc.
All rights reserved.
SPDX-License-Identifier: MIT
For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
-->
<template>
<slot></slot>
</template>
9 changes: 9 additions & 0 deletions src/lightning-stubs/modalBody/modalBody.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { LightningElement } from 'lwc';

export default class ModalBody extends LightningElement {}
9 changes: 9 additions & 0 deletions src/lightning-stubs/modalFooter/modalFooter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!--
Copyright (c) 2018, salesforce.com, inc.
All rights reserved.
SPDX-License-Identifier: MIT
For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
-->
<template>
<slot></slot>
</template>
9 changes: 9 additions & 0 deletions src/lightning-stubs/modalFooter/modalFooter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { LightningElement } from 'lwc';

export default class ModalFooter extends LightningElement {}
7 changes: 7 additions & 0 deletions src/lightning-stubs/modalHeader/modalHeader.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!--
Copyright (c) 2018, salesforce.com, inc.
All rights reserved.
SPDX-License-Identifier: MIT
For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
-->
<template></template>
11 changes: 11 additions & 0 deletions src/lightning-stubs/modalHeader/modalHeader.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { LightningElement, api } from 'lwc';

export default class ModalHeader extends LightningElement {
@api label;
}

0 comments on commit e00dd29

Please sign in to comment.