mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
3755264529
relates to #13308 Implements the UI for the activity item for script ran, and the script details modal. NOTE: Still have to do API integration and will do when API is ready in another PR. - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [ ] Added/updated tests - [x] Manual QA for all new/changed functionality
18 lines
455 B
TypeScript
18 lines
455 B
TypeScript
import React from "react";
|
|
import classnames from "classnames";
|
|
|
|
const baseClass = "textarea";
|
|
|
|
interface ITextareaProps {
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
}
|
|
|
|
// A textarea component that encapsulates common styles and functionality.
|
|
const Textarea = ({ children, className }: ITextareaProps) => {
|
|
const classNames = classnames(baseClass, className);
|
|
return <div className={classNames}>{children}</div>;
|
|
};
|
|
|
|
export default Textarea;
|