Files
copilotkit__copilotkit/examples/v2/angular/storybook/components/custom-disclaimer.component.ts
Alem Tuzlak 79ce60c580 chore: migrate from eslint+prettier to oxlint+oxfmt
Replace eslint and prettier with oxlint and oxfmt for faster linting
and formatting across the monorepo. Remove all eslint and prettier
configs, dependencies, and related packages. Add .oxlintrc.json and
.oxfmtrc.json for the new tooling. Update CI workflows and lefthook
hooks accordingly. Reformat codebase with oxfmt.

https://claude.ai/code/session_01GMkSf29p78HuMR1mbXn8He
2026-04-02 16:39:05 +02:00

45 lines
1.1 KiB
TypeScript

import { Component, Input } from "@angular/core";
@Component({
selector: "custom-disclaimer",
standalone: true,
template: `
<div
[class]="inputClass"
style="
text-align: center;
padding: 20px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 10px;
margin: 10px;
font-family: &quot;Segoe UI&quot;, Tahoma, Geneva, Verdana, sans-serif;
"
>
<h3 style="margin: 0 0 10px 0; font-size: 20px">
✨ Custom Disclaimer Component ✨
</h3>
<p style="margin: 0; font-size: 14px; opacity: 0.9">
{{
text || "This is a custom disclaimer demonstrating component overrides!"
}}
</p>
<div
style="
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid rgba(255, 255, 255, 0.3);
font-size: 12px;
opacity: 0.7;
"
>
🎨 Styled with custom gradients and animations
</div>
</div>
`,
})
export class CustomDisclaimerComponent {
@Input() text?: string;
@Input() inputClass?: string;
}